dropbear by default like ssh server

master
fanta 9 months ago
parent ecb6d24f60
commit 2e9ea9761e

@ -60,6 +60,7 @@ def createVms():
vmPasswd=input("\nPassword: ") vmPasswd=input("\nPassword: ")
os.system("virt-customize -a "+dirVmsImgs+"/"+vmName+".qcow2 --root-password password:"+vmPasswd) os.system("virt-customize -a "+dirVmsImgs+"/"+vmName+".qcow2 --root-password password:"+vmPasswd)
os.system("virt-customize -a "+dirVmsImgs+"/"+vmName+".qcow2 --hostname "+vmName) os.system("virt-customize -a "+dirVmsImgs+"/"+vmName+".qcow2 --hostname "+vmName)
os.system("virt-customize -a "+dirVmsImgs+"/"+vmName+".qcow2 --install dropbear")
choice() choice()
def runVms(): def runVms():

Loading…
Cancel
Save