* Move the commision_vm/node to functions.sh
* if machine already exists in maas, then re-use it
* move node variables above the node_num, to calculate correctly
* parametrise maas_kernel_opts and maas_name, so that it's not specific
for an environment
* update boot-source-selections such that we have both focal and bionic
by default
* Add comments to the default.config file
* move the node_count to the default.config, this will allow to use
customised value if needed
* If pod-console-logging tag is to be added, then add correctly,
Otherwise, if we are adding fresh pods after tag creation, the pods
will fail to add. This also allows for other cases to be fulfilled if
required
* enable/disable managed on the subnets. This resolves the problem where AUTO IP
doesn't seem to work. This is a workaround to help with this
* Revert the AUTO mode, now that the above issue is resolved
* More tabs to spaces, so that formatting and disaply looks the same
on terminal and text editor
* Ensure that only amd64 are being sync'd
* If using MAAS 2.9, then focal gets downloaded by default, so add
bionic to the list too
* Cross out items in TODO that have now been implemented
* Make password and virsh user consistent on hp01
* Update the config to reflect the network config from hp01
* Add timezone and byobu config in cloud init
* This will allow to run a quick script to wipe the headers
of the disk, so that we don't have to login after a
re-comission of the machine to manually reboot it
* Update script to add all stuff from install_kvm into it, rather than
runcmd.
* Update the virsh user as per the MAAS code
* Add support to add focal, only change of packages
* Add pod creation, so that when we remove the hypervisor
then all the VMs also get removed automatically
* virtinst is only used when creating/installing VMs, so
only install on hypervisor nodes
* Only grab the top vlan if we have 2, this typically
means that we have an ipv4 and ipv6 IP. Could probably
do this better, but keep it simple for the time being