|
|
@ -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.0"
|
|
|
|
STABLE="8.1"
|
|
|
|
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"`
|
|
|
|