Compare commits

..

10 Commits

Author SHA1 Message Date
tteckster
0cc475115a Update CHANGELOG.MD 2023-03-27 21:44:58 -04:00
tteckster
b19b5e1039 revert revert ssh_check 2023-03-27 21:21:14 -04:00
tteckster
8bf03a6cb6 Update build.func
update ssh_check code
2023-03-27 21:16:23 -04:00
tteckster
92c24cefe4 revert SSH_CHECK 2023-03-27 20:53:51 -04:00
tteckster
23d8d1b807 revert ssh_check 2023-03-27 20:52:46 -04:00
tteckster
6bf9e68f89 Update haos-vm.sh
add SSH_CHECK
2023-03-27 20:24:49 -04:00
tteckster
43ca5981f7 Update build.func
reword ssh_check
2023-03-27 20:00:26 -04:00
tteckster
726cbe6ba9 add ssh_check 2023-03-27 19:09:22 -04:00
tteckster
36ee55e61d Update build.func
tweak
2023-03-27 19:02:50 -04:00
tteckster
3d3a03ce3f Update alpine-whoogle.sh
ssh_check
2023-03-27 18:58:28 -04:00
94 changed files with 109 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ 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

View File

@@ -78,6 +78,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -81,6 +81,7 @@ function update_script() {
done
}
ssh_check
start
build_container
description

View File

@@ -75,6 +75,7 @@ function update_script() {
done
}
ssh_check
start
build_container
description

View File

@@ -88,6 +88,7 @@ function update_script() {
done
}
ssh_check
start
build_container
description

View File

@@ -81,6 +81,7 @@ function update_script() {
done
}
ssh_check
start
build_container
description

View File

@@ -79,6 +79,7 @@ function update_script() {
done
}
ssh_check
start
build_container
description

View File

@@ -75,6 +75,7 @@ function update_script() {
done
}
ssh_check
start
build_container
description

View File

@@ -63,6 +63,7 @@ exit;
fi
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -71,6 +71,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -100,6 +100,7 @@ exit
fi
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -86,6 +86,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -71,6 +71,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -68,6 +68,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -140,6 +140,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -207,6 +207,7 @@ EOF
fi
}
ssh_check
start
build_container
description

View File

@@ -128,6 +128,7 @@ WantedBy=default.target" >$service_path
fi
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -67,6 +67,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -84,6 +84,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -63,6 +63,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -71,6 +71,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -171,6 +171,7 @@ EOF
exit
}
ssh_check
start
build_container
description

View File

@@ -63,6 +63,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -96,6 +96,7 @@ exit
fi
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -132,6 +132,7 @@ EOF
fi
}
ssh_check
start
build_container
description

View File

@@ -86,6 +86,7 @@ function update_script() {
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -71,6 +71,7 @@ exit
fi
}
ssh_check
start
build_container
description

View File

@@ -111,6 +111,7 @@ exit
fi
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Updated ${APP} LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -66,6 +66,7 @@ msg_ok "Updated $APP"
exit
}
ssh_check
start
build_container
description

View File

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -64,6 +64,7 @@ msg_ok "Updated Shinobi LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -62,6 +62,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -70,6 +70,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -80,6 +80,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated ${APP} LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -78,6 +78,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -131,6 +131,7 @@ function update_script() {
fi
}
ssh_check
start
build_container
description

View File

@@ -61,6 +61,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -83,6 +83,7 @@ msg_ok "Update Successfull"
exit
}
ssh_check
start
build_container
description

View File

@@ -115,6 +115,7 @@ exit
fi
}
ssh_check
start
build_container
description

View File

@@ -60,6 +60,7 @@ msg_ok "Updated $APP LXC"
exit
}
ssh_check
start
build_container
description

View File

@@ -126,6 +126,7 @@ function update_script() {
exit
}
ssh_check
start
build_container
description

View File

@@ -78,6 +78,7 @@ function update_script() {
exit
}
ssh_check
start
build_container
description

View File

@@ -67,10 +67,11 @@ arch_check() {
ssh_check() {
if command -v pveversion >/dev/null 2>&1; 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
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

View File

@@ -95,6 +95,18 @@ 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"
@@ -257,6 +269,7 @@ function START_SCRIPT() {
}
ARCH_CHECK
PVE_CHECK
SSH_CHECK
START_SCRIPT
msg_info "Validating Storage"
while read -r line; do