Skip to content
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

Open
arif-ali opened this issue Jan 2, 2021 · 0 comments
Open

Convert to python #3

arif-ali opened this issue Jan 2, 2021 · 0 comments

Comments

@arif-ali
Copy link
Owner

arif-ali commented Jan 2, 2021

Maybe convert these to python?

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
arif-ali pushed a commit that referenced this issue Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant