Add Proxmox VE

This commit is contained in:
William Gathoye 2018-07-14 15:32:34 +02:00
parent 22df76c3b6
commit 679c739724
1 changed files with 34 additions and 0 deletions

View File

@ -826,6 +826,14 @@ get_distro() {
"on" | "tiny") distro="Siduction" ;;
*) distro="Siduction ($(lsb_release -sic))"
esac
elif type -p pveversion >/dev/null; then
case "$distro_shorthand" in
"on" | "tiny") distro="Proxmox VE" ;;
*)
distro="$(pveversion)"
distro="${distro#pve-manager/}"
distro="Proxmox VE ${distro%/*}"
esac
elif type -p lsb_release >/dev/null; then
case "$distro_shorthand" in
@ -7323,6 +7331,32 @@ ${c1} ss
EOF
;;
"Proxmox"*)
set_colors 7 202
read -rd '' ascii_data <<'EOF'
${c1} .://:` `://:.
`hMMMMMMd/ /dMMMMMMh`
`sMMMMMMMd: :mMMMMMMMs`
${c2}`-/+oo+/:${c1}`.yMMMMMMMh- -hMMMMMMMy.`${c2}:/+oo+/-`
`:oooooooo/${c1}`-hMMMMMMMyyMMMMMMMh-`${c2}/oooooooo:`
`/oooooooo:${c1}`:mMMMMMMMMMMMMm:`${c2}:oooooooo/`
./ooooooo+-${c1} +NMMMMMMMMN+ ${c2}-+ooooooo/.
.+ooooooo+-${c1}`oNMMMMNo`${c2}-+ooooooo+.
-+ooooooo/.${c1}`sMMs`${c2}./ooooooo+-
:oooooooo/${c1}`..`${c2}/oooooooo:
:oooooooo/`${c1}..${c2}`/oooooooo:
-+ooooooo/.`${c1}sMMs${c2}`./ooooooo+-
.+ooooooo+-`${c1}oNMMMMNo${c2}`-+ooooooo+.
./ooooooo+-${c1} +NMMMMMMMMN+ ${c2}-+ooooooo/.
`/oooooooo:`${c1}:mMMMMMMMMMMMMm:${c2}`:oooooooo/`
`:oooooooo/`${c1}-hMMMMMMMyyMMMMMMMh-${c2}`/oooooooo:`
`-/+oo+/:`${c1}.yMMMMMMMh- -hMMMMMMMy.${c2}`:/+oo+/-`
${c1} `sMMMMMMMm: :dMMMMMMMs`
`hMMMMMMd/ /dMMMMMMh`
`://:` `://:`
EOF
;;
"Puppy"* | "Quirky Werewolf"* | "Precise Puppy"*)
set_colors 4 7
read -rd '' ascii_data <<'EOF'