mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 05:41:35 +01:00
wip: skel for provisioning script
This commit is contained in:
26
provisioning/master.py
Normal file
26
provisioning/master.py
Normal file
@@ -0,0 +1,26 @@
|
||||
# get new domain name
|
||||
|
||||
# create a VM and clone disk
|
||||
|
||||
# set CPU & RAM
|
||||
|
||||
# get mac
|
||||
virsh_vm.get_mac(domain)
|
||||
|
||||
# change network
|
||||
network.set_ip_for_mac_domain(domain, mac)
|
||||
|
||||
# net destory net start ?
|
||||
|
||||
# start vm
|
||||
|
||||
# change hostname
|
||||
|
||||
# add vm subdomains
|
||||
|
||||
# run python script
|
||||
|
||||
# run cert script
|
||||
|
||||
# reload nginx
|
||||
|
||||
Reference in New Issue
Block a user