From 4db5885e09088823030eebc20e8e0403759dbeef Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 4 Jun 2023 19:59:12 +0800 Subject: [PATCH] Update buildvm_extraip.sh --- scripts/buildvm_extraip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/buildvm_extraip.sh b/scripts/buildvm_extraip.sh index 615c078..fe1ce21 100644 --- a/scripts/buildvm_extraip.sh +++ b/scripts/buildvm_extraip.sh @@ -150,7 +150,7 @@ qm start $vm_num echo "$vm_num $user $password $core $memory $disk $system $storage $user_ip" >> "vm${vm_num}" # 虚拟机的相关信息将会存储到对应的虚拟机的NOTE中,可在WEB端查看 -data=$(echo " VMID 用户名 密码 CPU核数 内存 硬盘 系统 存储盘 外网独立IP") +data=$(echo " VMID 用户名 密码 CPU核数 内存 硬盘 系统 存储盘 外网IP地址") values=$(cat "vm${vm_num}") IFS=' ' read -ra data_array <<< "$data" IFS=' ' read -ra values_array <<< "$values"