This article shows a simple example on how to get username and password from the command line using argparse.
Terraform manages its state buy storing the files in tfstate files. Thus when you run terraform plan or terraform aply , terraform will be able to find the resources it created previously and hence act upon them. The tfstate files by default gets stored in the same directory where your …
I just upgraded to Fedora 32 and suddenly my docker containers could not resolve any DNS. The DNS inside my Docker containers could not for example resolve github.com hence my docker builds were failing.
This article shows how how to create a bootable USB disk to install Windows 10 using Linux. Here I am using Fedora 31 but we are using woeusb software which should be available in other distributions too.
Visual Studio Code is a lightweight but powerful code editor with plugin support for just about any programming language you can think of. This article will show how to install Visual Studio Code on CentOS, RHEL, Fedora, and any other systems derived from them.
I have been a happy user of BitBucket for many years due to its free private repositories. However I have always favoured using Github due to more tools and all my opensource projects are hosted in GitHub. Now that github offers free private repositories it was just logical to also …
This article is a short howto/guide on installing a 3 node glusterfs replicated storage. In this howto I shall be using 4 virtual machines with two hard disks, the second hard disk is used for glusterfs while the first is used for the os. The fourth virtual machine is to …
This article shows how to create VLANS over bridge to a single physical interface. You may want to do this when building a kvm host and want your kvm clients to have interfaces connected to specific vlans on your network.
This howto shows the steps needed to copy a Fedora/Redhat/Centos ISO to a usb stick such that it can be booted from and install the OS.
The total number of supplied command-line arguments is hold by a in bash's internal variable $#. Consider a following example of simple bash script which will print out a total number of supplied command-line arguments to the STDOUT: