wip: skel for provisioning script

This commit is contained in:
2025-01-18 13:18:32 +00:00
parent 3222b4b437
commit 73106f6d57
2 changed files with 66 additions and 0 deletions

26
provisioning/master.py Normal file
View 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