|
|
@ -68,7 +68,7 @@ arch_check() { |
|
|
|
|
|
|
|
|
|
|
|
echo_default() { |
|
|
|
echo_default() { |
|
|
|
if [ "$var_os" == "ubuntu" ]; then |
|
|
|
if [ "$var_os" == "ubuntu" ]; then |
|
|
|
echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}" |
|
|
|
echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}" |
|
|
|
fi |
|
|
|
fi |
|
|
|
echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}" |
|
|
|
echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}" |
|
|
|
echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}" |
|
|
|
echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}" |
|
|
@ -106,8 +106,8 @@ advanced_settings() { |
|
|
|
"22.10" "Kinetic" OFF \ |
|
|
|
"22.10" "Kinetic" OFF \ |
|
|
|
3>&1 1>&2 2>&3); then |
|
|
|
3>&1 1>&2 2>&3); then |
|
|
|
echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}" |
|
|
|
echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}" |
|
|
|
else |
|
|
|
else |
|
|
|
exit-script |
|
|
|
exit-script |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
@ -385,7 +385,7 @@ build_container() { |
|
|
|
$PW |
|
|
|
$PW |
|
|
|
" |
|
|
|
" |
|
|
|
bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/dev/ct/create_lxc.sh)" || exit |
|
|
|
bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/dev/ct/create_lxc.sh)" || exit |
|
|
|
|
|
|
|
|
|
|
|
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf |
|
|
|
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf |
|
|
|
if [ "$CT_TYPE" == "0" ]; then |
|
|
|
if [ "$CT_TYPE" == "0" ]; then |
|
|
|
if [[ "$APP" != "Emby" && "$APP" != "Jellyfin" && "$APP" != "Plex" ]]; then |
|
|
|
if [[ "$APP" != "Emby" && "$APP" != "Jellyfin" && "$APP" != "Plex" ]]; then |
|
|
@ -430,4 +430,4 @@ description() { |
|
|
|
pct set "$CTID" -description "# ${APP} LXC |
|
|
|
pct set "$CTID" -description "# ${APP} LXC |
|
|
|
### https://tteck.github.io/Proxmox/ |
|
|
|
### https://tteck.github.io/Proxmox/ |
|
|
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>" |
|
|
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>" |
|
|
|
} |
|
|
|
} |
|
|
|