Update 'test.sh'

This commit is contained in:
Sthope 2022-07-16 19:01:57 +00:00
parent c610958726
commit c0875f7525

View File

@ -68,7 +68,7 @@ function msg_ok() {
local msg="$1"
echo -e "${BFR} ${CM} ${GN}${msg}${CL}"
}
function default_settings() {
function create_vm() {
clear
header_info
BRANCH=${STABLE}
@ -83,7 +83,7 @@ function default_settings() {
}
default_settings
create_vm
while read -r line; do
TAG=$(echo $line | awk '{print $1}')
@ -150,4 +150,4 @@ qm set $VMID -description "# Home Assistant OS" >/dev/null
if [ "$START_VM" == "yes" ]; then
qm start $VMID
fi
echo "\n\e[1;3;5;42mCompleted Successfully!\e[0m\n"
echo -e "\n\e[1;3;5;42mCompleted Successfully!\e[0m\n"