Compare commits

..

No commits in common. "ab40267e90f8309d79e2165fb219ec8877e8010a" and "ac837891e057ea19c2a9196e62aed4f1f121c1ea" have entirely different histories.

7 changed files with 7 additions and 23 deletions

View File

@ -2,15 +2,6 @@
# Change Log # Change Log
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## 2023-03-25
### Changed
- **Alpine-ESPHome LXC**
- NEW Script
- **Alpine-Whoogle LXC**
- NEW Script
## 2023-03-22 ## 2023-03-22
### Changed ### Changed

View File

@ -52,10 +52,7 @@ function default_settings() {
} }
function update_script() { function update_script() {
if [[ ! -f /usr/bin/esphome ]]; then if [[ ! -f /usr/bin/esphome ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_error "No ${APP} Installation Found!"
exit
fi
while true; do while true; do
CHOICE=$( CHOICE=$(
whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \ whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \

View File

@ -52,10 +52,7 @@ function default_settings() {
} }
function update_script() { function update_script() {
if [[ ! -f /usr/bin/whoogle-search ]]; then if [[ ! -f /usr/bin/whoogle-search ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_error "No ${APP} Installation Found!"
exit
fi
while true; do while true; do
CHOICE=$( CHOICE=$(
whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \ whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \

View File

@ -4,7 +4,7 @@
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
color color
verb_ip6 verb_ip6
@ -40,7 +40,7 @@ start() {
stop() { stop() {
kill \$(cat \$pidfile) kill \$(cat \$pidfile)
rm \$pidfile rm \$pidfile
}" >/etc/init.d/esphome }" > /etc/init.d/esphome
chmod 755 /etc/init.d/esphome chmod 755 /etc/init.d/esphome
rc-service -q esphome start rc-service -q esphome start

View File

@ -4,7 +4,7 @@
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
color color
verb_ip6 verb_ip6
@ -41,7 +41,7 @@ start() {
stop() { stop() {
kill \$(cat \$pidfile) kill \$(cat \$pidfile)
rm \$pidfile rm \$pidfile
}" >/etc/init.d/whoogle }" > /etc/init.d/whoogle
chmod 755 /etc/init.d/whoogle chmod 755 /etc/init.d/whoogle
rc-service -q whoogle start rc-service -q whoogle start

View File

@ -111,7 +111,6 @@ motd_ssh() {
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd
if [[ "${SSH_ROOT}" == "yes" ]]; then if [[ "${SSH_ROOT}" == "yes" ]]; then
$STD rc-update add sshd $STD rc-update add sshd
sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
$STD /etc/init.d/sshd start $STD /etc/init.d/sshd start
fi fi
} }

View File

@ -452,7 +452,7 @@ EOF
pct start "$CTID" pct start "$CTID"
msg_ok "Started LXC Container" msg_ok "Started LXC Container"
if [ "$var_os" == "alpine" ]; then if [ "$var_os" == "alpine" ]; then
sleep 2 sleep 5
pct exec "$CTID" -- ash -c "apk add bash >/dev/null" pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
fi fi
lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit