mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Compare commits
	
		
			7 Commits
		
	
	
		
			ac837891e0
			...
			ab40267e90
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								 | 
						ab40267e90 | |
| 
							
							
								 | 
						e2b999caa0 | |
| 
							
							
								 | 
						59cf81026e | |
| 
							
							
								 | 
						1954973e77 | |
| 
							
							
								 | 
						b494fa404b | |
| 
							
							
								 | 
						b0c767d9ab | |
| 
							
							
								 | 
						be211699b9 | 
| 
						 | 
				
			
			@ -2,6 +2,15 @@
 | 
			
		|||
# Change Log
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
### Changed
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,7 +52,10 @@ function default_settings() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
    CHOICE=$(
 | 
			
		||||
      whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,7 +52,10 @@ function default_settings() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
    CHOICE=$(
 | 
			
		||||
      whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
# Author: tteck (tteckster)
 | 
			
		||||
# License: MIT
 | 
			
		||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
 | 
			
		||||
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
 | 
			
		||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
 | 
			
		||||
 | 
			
		||||
color
 | 
			
		||||
verb_ip6
 | 
			
		||||
| 
						 | 
				
			
			@ -40,7 +40,7 @@ start() {
 | 
			
		|||
stop() {
 | 
			
		||||
    kill \$(cat \$pidfile)
 | 
			
		||||
    rm \$pidfile
 | 
			
		||||
}" > /etc/init.d/esphome
 | 
			
		||||
}" >/etc/init.d/esphome
 | 
			
		||||
 | 
			
		||||
chmod 755 /etc/init.d/esphome
 | 
			
		||||
rc-service -q esphome start
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
# Author: tteck (tteckster)
 | 
			
		||||
# License: MIT
 | 
			
		||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
 | 
			
		||||
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
 | 
			
		||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
 | 
			
		||||
 | 
			
		||||
color
 | 
			
		||||
verb_ip6
 | 
			
		||||
| 
						 | 
				
			
			@ -41,7 +41,7 @@ start() {
 | 
			
		|||
stop() {
 | 
			
		||||
    kill \$(cat \$pidfile)
 | 
			
		||||
    rm \$pidfile
 | 
			
		||||
}" > /etc/init.d/whoogle
 | 
			
		||||
}" >/etc/init.d/whoogle
 | 
			
		||||
 | 
			
		||||
chmod 755 /etc/init.d/whoogle
 | 
			
		||||
rc-service -q whoogle start
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -111,6 +111,7 @@ motd_ssh() {
 | 
			
		|||
  echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd
 | 
			
		||||
  if [[ "${SSH_ROOT}" == "yes" ]]; then
 | 
			
		||||
    $STD rc-update add sshd
 | 
			
		||||
    sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
 | 
			
		||||
    $STD /etc/init.d/sshd start
 | 
			
		||||
  fi
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -452,7 +452,7 @@ EOF
 | 
			
		|||
  pct start "$CTID"
 | 
			
		||||
  msg_ok "Started LXC Container"
 | 
			
		||||
  if [ "$var_os" == "alpine" ]; then
 | 
			
		||||
  sleep 5
 | 
			
		||||
  sleep 2
 | 
			
		||||
  pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
 | 
			
		||||
  fi
 | 
			
		||||
  lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue