Quoted Strings

Changes to Strings

  2024/02/17

Posted Tag: #Linux
Other Tags: #Windows, #Personal, #All

I recently made some changes to Strings, the Arch Linux with Cinnamon desktop installation script. I added a script I call network_bridge in the addons directory to add a network bridge to the Arch Linux Cinnamon desktop installation, following the installation. It is mainly for my use when installing for my everyday home computer or other hardware, non virtual machine computers. On my home computer I use qemu based virtual machines quite often and a network bridge allows easy ssh access and such.

Also in this script, I add some files that allow the coexistence of this network bridge and docker. It took some time to figure out how to do this. I would create a network bridge and use a virtual machine after installing docker. Docker would interfere with the network bridge not allowing network usage. This was a big issue for me. After I started trying to use docker for this website creation and maintenance, while keeping my virtual machines, I seriously started searching for a way to allow all of this to work together. I basically create an iptables configuration for the bridge as a filter for docker. Then there is a service that restores the configuration at each reboot. It is really a neat way to do this that just works. I have been using it for years.

I just decided to make re-installation of my home computer simpler. I used to copy and paste all the commands for the bridge followed by using nano to copy and paste and, create the docker files.

I even test for proper IP addresses in the network_bridge script too, in case a fat finger something one day. And I use nmcli connection show along with ip a to show data for data collection. One day I may finish this script, although writing this I just thought of something else.

Another thing I thought of is when I install for my home computer I always have to give my user name permissions for qemu, libvirt and docker. Why not just do it in the final script while under the current user. Should have did that a long time ago.

Wish to add a comment? Your email address will never be shared with anyone. Please specify a user name for your comment or use anonymous.

Email me a comment to post it.