mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 05:41:35 +01:00
27 lines
302 B
Python
27 lines
302 B
Python
# 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
|
|
|