Compare commits

..

7 Commits

Author SHA1 Message Date
tteckster ab40267e90
Update alpine-install.func
enable root SSH access
2023-03-25 20:21:12 -04:00
tteckster e2b999caa0
Update CHANGELOG.MD 2023-03-25 17:51:04 -04:00
tteckster 59cf81026e
Update alpine-esphome-install.sh
tweak
2023-03-25 17:30:25 -04:00
tteckster 1954973e77
Update alpine-whoogle-install.sh
tweak
2023-03-25 17:29:00 -04:00
tteckster b494fa404b
Update build.func
lower rest time
2023-03-25 17:26:28 -04:00
tteckster b0c767d9ab
Update alpine-whoogle.sh
tweak
2023-03-25 17:25:23 -04:00
tteckster be211699b9
Update alpine-esphome.sh
tweak
2023-03-25 17:24:06 -04:00
7 changed files with 23 additions and 7 deletions

View File

@ -2,6 +2,15 @@
# 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,7 +52,10 @@ function default_settings() {
} }
function update_script() { function update_script() {
if [[ ! -f /usr/bin/esphome ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /usr/bin/esphome ]]; then
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,7 +52,10 @@ function default_settings() {
} }
function update_script() { function update_script() {
if [[ ! -f /usr/bin/whoogle-search ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /usr/bin/whoogle-search ]]; then
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

@ -111,6 +111,7 @@ 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 5 sleep 2
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