mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "0cc475115a286ab7d5c75a2c03952830c10a1a52" and "8ff557f9c2e53bfc1671ed6138e0390a171d2c47" have entirely different histories.
0cc475115a
...
8ff557f9c2
|
@ -8,8 +8,6 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
- **Removed Alpine-ESPHome LXC**
|
||||
- Nonoperational
|
||||
- **All Scripts**
|
||||
- Incorporate code that examines whether SSH is being used and, if yes, offers a suggestion against it without restricting or blocking its usage.
|
||||
|
||||
## 2023-03-25
|
||||
|
||||
|
|
|
@ -78,7 +78,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -81,7 +81,6 @@ function update_script() {
|
|||
done
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -75,7 +75,6 @@ function update_script() {
|
|||
done
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -88,7 +88,6 @@ function update_script() {
|
|||
done
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -81,7 +81,6 @@ function update_script() {
|
|||
done
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -79,7 +79,6 @@ function update_script() {
|
|||
done
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -75,7 +75,6 @@ function update_script() {
|
|||
done
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -63,7 +63,6 @@ exit;
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -71,7 +71,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -100,7 +100,6 @@ exit
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -86,7 +86,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -71,7 +71,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -68,7 +68,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -140,7 +140,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -207,7 +207,6 @@ EOF
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -128,7 +128,6 @@ WantedBy=default.target" >$service_path
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -67,7 +67,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -84,7 +84,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -62,7 +62,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -62,7 +62,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -63,7 +63,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -71,7 +71,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -171,7 +171,6 @@ EOF
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -63,7 +63,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -96,7 +96,6 @@ exit
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -62,7 +62,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -62,7 +62,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -132,7 +132,6 @@ EOF
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -86,7 +86,6 @@ function update_script() {
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -71,7 +71,6 @@ exit
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -111,7 +111,6 @@ exit
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -66,7 +66,6 @@ msg_ok "Updated $APP"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -62,7 +62,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -64,7 +64,6 @@ msg_ok "Updated Shinobi LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -62,7 +62,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -70,7 +70,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -80,7 +80,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -78,7 +78,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -131,7 +131,6 @@ function update_script() {
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -61,7 +61,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -83,7 +83,6 @@ msg_ok "Update Successfull"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -115,7 +115,6 @@ exit
|
|||
fi
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -126,7 +126,6 @@ function update_script() {
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -78,7 +78,6 @@ function update_script() {
|
|||
exit
|
||||
}
|
||||
|
||||
ssh_check
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
|
|
@ -67,11 +67,10 @@ arch_check() {
|
|||
|
||||
ssh_check() {
|
||||
if command -v pveversion >/dev/null 2>&1; then
|
||||
if [ -n "${SSH_CLIENT:+x}" ]; then
|
||||
if whiptail --defaultno --title "SSH DETECTED" --yesno "It's suggested to use the Proxmox shell instead of SSH, since SSH can create issues while gathering variables. Would you like to proceed with using SSH?" 10 62; then
|
||||
if [ -n "$SSH_CLIENT" ]; then
|
||||
if whiptail --defaultno --title "SSH DETECTED" --yesno "The scripts suggest using the Proxmox shell instead of SSH, since the latter can create issues while gathering variables. Would you like to proceed with using SSH?" 10 68; then
|
||||
echo "you've been warned"
|
||||
else
|
||||
clear
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -95,18 +95,6 @@ function ARCH_CHECK() {
|
|||
exit
|
||||
fi
|
||||
}
|
||||
function SSH_CHECK() {
|
||||
if command -v pveversion >/dev/null 2>&1; then
|
||||
if [ -n "${SSH_CLIENT:+x}" ]; then
|
||||
if whiptail --defaultno --title "SSH DETECTED" --yesno "It's suggested to use the Proxmox shell instead of SSH, since SSH can create issues while gathering variables. Would you like to proceed with using SSH?" 10 62; then
|
||||
echo "you've been warned"
|
||||
else
|
||||
clear
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
function default_settings() {
|
||||
BRANCH="$stable"
|
||||
VMID="$NEXTID"
|
||||
|
@ -269,7 +257,6 @@ function START_SCRIPT() {
|
|||
}
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
SSH_CHECK
|
||||
START_SCRIPT
|
||||
msg_info "Validating Storage"
|
||||
while read -r line; do
|
||||
|
|
Loading…
Reference in New Issue