Multipass update, using config file

I’ve been quite busy at my regular job sand didn’t have the time for personal projects or blogging, sorry for that. As you might remember from earlier posts that I don’t like to develop on my machine itself, I like to create purpose build virtual machines to develop specific projects. This helps me separate requirements and conflicting libraries and versions of software which might break projects. I use Multipass as the virtualisation tool for managing virtual development machines on my Mac Studio using cloud-init for automation.

Up until now I was happy using just one configuration file for each VM as my personal projects didn’t differ that much from programming tools perspective. At my latest project I found out that they will and I needed an option to create different configurations per VM. So I’ve added a command line option to make the configuration of the VM flexible. It’s the YAML file that cloud-init uses to install all the required packages and set the proper configuration items.

It required me to adjust the documentation and to update the remote multipasssetup repository on BitBucket. I quickly ran into issues with Git as I had made a correction, resolved a typo, remotely without merging so my local and the remote repo where out of sync. Took some effort to getting it resolved as I’m no git expert ;-).