mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-27 01:19:01 +01:00
Update haos-vm-v3.sh
This commit is contained in:
parent
d8bb779b1f
commit
43cc17f6d2
@ -2,7 +2,7 @@
|
|||||||
GEN_MAC=$(echo '00 60 2f'$(od -An -N3 -t xC /dev/urandom) | sed -e 's/ /:/g' | tr '[:lower:]' '[:upper:]')
|
GEN_MAC=$(echo '00 60 2f'$(od -An -N3 -t xC /dev/urandom) | sed -e 's/ /:/g' | tr '[:lower:]' '[:upper:]')
|
||||||
NEXTID=$(pvesh get /cluster/nextid)
|
NEXTID=$(pvesh get /cluster/nextid)
|
||||||
RELEASE=$(curl -sX GET "https://api.github.com/repos/home-assistant/operating-system/releases" | awk '/tag_name/{print $4;exit}' FS='[""]')
|
RELEASE=$(curl -sX GET "https://api.github.com/repos/home-assistant/operating-system/releases" | awk '/tag_name/{print $4;exit}' FS='[""]')
|
||||||
STABLE="8.3"
|
STABLE="8.2"
|
||||||
YW=`echo "\033[33m"`
|
YW=`echo "\033[33m"`
|
||||||
BL=`echo "\033[36m"`
|
BL=`echo "\033[36m"`
|
||||||
RD=`echo "\033[01;31m"`
|
RD=`echo "\033[01;31m"`
|
||||||
|
Loading…
Reference in New Issue
Block a user