Update 'test.sh'
This commit is contained in:
parent
edbf5f686c
commit
487dd8c843
4
test.sh
4
test.sh
@ -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.3"
|
||||||
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"`
|
||||||
@ -71,7 +71,7 @@ function msg_ok() {
|
|||||||
function default_settings() {
|
function default_settings() {
|
||||||
clear
|
clear
|
||||||
header_info
|
header_info
|
||||||
BRANCH=${STABLE}
|
# BRANCH=${STABLE}
|
||||||
VMID=$NEXTID
|
VMID=$NEXTID
|
||||||
VM_NAME=Home-Assistant
|
VM_NAME=Home-Assistant
|
||||||
CORE_COUNT="2"
|
CORE_COUNT="2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user