From f970fcc67200114f9284afd3b9258f02d97e08fd Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Sat, 3 Jun 2023 20:39:06 +0800 Subject: [PATCH] Update buildvm.sh --- scripts/buildvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/buildvm.sh b/scripts/buildvm.sh index f682997..ca27851 100644 --- a/scripts/buildvm.sh +++ b/scripts/buildvm.sh @@ -106,7 +106,7 @@ qm set $vm_num --bootdisk scsi0 qm set $vm_num --boot order=scsi0 qm set $vm_num --memory $memory # --swap 256 -qm set $vm_num --ide2 local:cloudinit +qm set $vm_num --ide2 ${storage}:cloudinit qm set $vm_num --nameserver 8.8.8.8 qm set $vm_num --searchdomain 8.8.4.4 user_ip="172.16.1.${num}"