siotp/sio2/SISR/06-proxmox/to_do_clone
2024-09-26 11:32:06 +02:00

10 lines
218 B
Plaintext

numvm=$1
nomvm=$2
ip=$3
qm clone 9000 "${numvm}" --name "${nomvm}"
qm set "${numvm}" --sshkeys id_rsa-pve.pub
qm set "${numvm}" --ipconfig0 ip="${ip}"/24,gw=192.168.0.1
qm resize 1 scsi0 8G
qm start "${numvm}"
qm list