forked from desrod/maas-autobuilder
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert to python #3
Comments
arif-ali
added a commit
that referenced
this issue
Jan 31, 2021
* The script now adds N control nodes at the beginning * Adds the VMs to MAAS, commissions them, and updates the interfaces. * Add a function that just wipes the VM disks, for re-purposing. This allows to release the machines in MAAS, and then re-use them without having to re-add/commission the machines. * Get maas tags to work, fix tabs for virt-install * Add hypervisor config file to standardise script * Add macs and bridges as an array * Use the maas snap for the maas-cli stuff, as there is no recent maas-cli deb * update the way to tag a node, which now works * put back the double ampersand for creating the VM * Put the disks in arrays, to be more dynamic * move the disk definition to the hypervisor config * add os-variant * Make the variables consistent across all the functions * Release machine in maas, if we're wiping the disk for re-using * Update some formatting fixes to README.md * Add the 4th HEX for the MAC address too, consistent to how virt-manager does it * Add comments in the destroy VM function * Fix spacing, so that it's consistent in the destroy VM function * Change all tabs to spaces * Add the feature to have either network or bridge for virt-install * Add example hypervisor.configs for both bridge and network types * Add help function
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe convert these to python?
The text was updated successfully, but these errors were encountered: