mirror of https://github.com/tteck/Proxmox.git
Update haos-vm-v5.sh
This commit is contained in:
parent
047e50ae4d
commit
3de5326a89
|
@ -138,7 +138,7 @@ if [ $exitstatus = 0 ]; then echo -e "${DGN}Using HAOS Version: ${BGN}$BRANCH${C
|
||||||
VMID=$(whiptail --inputbox "Set Virtual Machine ID" 8 58 $NEXTID --title "VIRTUAL MACHINE ID" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
|
VMID=$(whiptail --inputbox "Set Virtual Machine ID" 8 58 $NEXTID --title "VIRTUAL MACHINE ID" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
|
||||||
exitstatus=$?
|
exitstatus=$?
|
||||||
if [ -z $VMID ]; then VMID="$NEXTID"; echo -e "${DGN}Virtual Machine: ${BGN}$VMID${CL}";
|
if [ -z $VMID ]; then VMID="$NEXTID"; echo -e "${DGN}Virtual Machine: ${BGN}$VMID${CL}";
|
||||||
elif
|
else
|
||||||
if echo "$USEDID" | egrep -q "$VMID"
|
if echo "$USEDID" | egrep -q "$VMID"
|
||||||
then
|
then
|
||||||
echo -e "\n🚨 ${RD}ID $VMID is already in use${CL} \n"
|
echo -e "\n🚨 ${RD}ID $VMID is already in use${CL} \n"
|
||||||
|
|
Loading…
Reference in New Issue