mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update buildvm.sh
This commit is contained in:
parent
15b605b329
commit
2b59e88915
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ qm set $vm_num --searchdomain 8.8.4.4
|
|||
user_ip="172.16.1.${num}"
|
||||
qm set $vm_num --ipconfig0 ip=${user_ip}/24,gw=172.16.1.1
|
||||
qm set $vm_num --cipassword $password --ciuser $user
|
||||
# qm set $vm_num --agent 1
|
||||
qm resize $vm_num scsi0 ${disk}G
|
||||
qm start $vm_num
|
||||
|
||||
|
|
Loading…
Reference in a new issue