mirror of https://github.com/tteck/Proxmox.git
Update haos_vm.sh
This commit is contained in:
parent
cf96013c9d
commit
609bff936b
|
@ -9,16 +9,28 @@ while true; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
clear
|
clear
|
||||||
|
CL=`echo "\033[m"`
|
||||||
|
BL=`echo "\033[36m"`
|
||||||
|
function header_info {
|
||||||
|
echo -e "${BL}
|
||||||
|
_ _ ____ _____
|
||||||
|
| | | | /\ / __ \ / ____|
|
||||||
|
| |__| | / \ | | | | (___
|
||||||
|
| __ | / /\ \| | | |\___ \
|
||||||
|
| | | |/ ____ \ |__| |____) |
|
||||||
|
|_| |_/_/ \_\____/|_____/
|
||||||
|
|
||||||
|
${CL}"
|
||||||
|
}
|
||||||
|
header_info
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o errtrace
|
set -o errtrace
|
||||||
set -o nounset
|
set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
alias die='EXIT=$? LINE=$LINENO error_exit'
|
alias die='EXIT=$? LINE=$LINENO error_exit'
|
||||||
BL=`echo "\033[36m"`
|
|
||||||
CM='\xE2\x9C\x94\033'
|
CM='\xE2\x9C\x94\033'
|
||||||
GN=`echo "\033[1;92m"`
|
GN=`echo "\033[1;92m"`
|
||||||
CL=`echo "\033[m"`
|
|
||||||
trap die ERR
|
trap die ERR
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
function error_exit() {
|
function error_exit() {
|
||||||
|
|
Loading…
Reference in New Issue