mirror of https://github.com/tteck/Proxmox.git
Compare commits
3 Commits
25c18fbf9e
...
cb4097e74c
Author | SHA1 | Date |
---|---|---|
|
cb4097e74c | |
|
58ecabe0ea | |
|
984d8fc249 |
|
@ -35,6 +35,8 @@ msg_info "Installing ESPHome"
|
||||||
#python3 -m venv .
|
#python3 -m venv .
|
||||||
#source bin/activate
|
#source bin/activate
|
||||||
$STD pip install esphome tornado esptool
|
$STD pip install esphome tornado esptool
|
||||||
|
echo "bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||||
|
chmod +x /usr/bin/update
|
||||||
msg_ok "Installed ESPHome"
|
msg_ok "Installed ESPHome"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|
|
@ -87,6 +87,8 @@ $STD pip install homeassistant
|
||||||
$STD pip install mysqlclient
|
$STD pip install mysqlclient
|
||||||
$STD pip install psycopg2-binary
|
$STD pip install psycopg2-binary
|
||||||
mkdir -p /root/.homeassistant
|
mkdir -p /root/.homeassistant
|
||||||
|
echo "bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||||
|
chmod +x /usr/bin/update
|
||||||
msg_ok "Installed Home Assistant-Core"
|
msg_ok "Installed Home Assistant-Core"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|
|
@ -88,6 +88,8 @@ $STD docker run -d \
|
||||||
--net=host \
|
--net=host \
|
||||||
ghcr.io/home-assistant/home-assistant:stable
|
ghcr.io/home-assistant/home-assistant:stable
|
||||||
mkdir /root/hass_config
|
mkdir /root/hass_config
|
||||||
|
echo "bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||||
|
chmod +x /usr/bin/update
|
||||||
msg_ok "Installed Home Assistant $CORE_LATEST_VERSION"
|
msg_ok "Installed Home Assistant $CORE_LATEST_VERSION"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|
|
@ -30,6 +30,16 @@ msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing Node-Red"
|
msg_info "Installing Node-Red"
|
||||||
$STD npm install -g --unsafe-perm node-red
|
$STD npm install -g --unsafe-perm node-red
|
||||||
|
echo "journalctl -f -n 100 -u nodered -o cat" >/usr/bin/node-red-log
|
||||||
|
chmod +x /usr/bin/node-red-log
|
||||||
|
echo "systemctl stop nodered" >/usr/bin/node-red-stop
|
||||||
|
chmod +x /usr/bin/node-red-stop
|
||||||
|
echo "systemctl start nodered" >/usr/bin/node-red-start
|
||||||
|
chmod +x /usr/bin/node-red-start
|
||||||
|
echo "systemctl restart nodered" >/usr/bin/node-red-restart
|
||||||
|
chmod +x /usr/bin/node-red-restart
|
||||||
|
echo "bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||||
|
chmod +x /usr/bin/update
|
||||||
msg_ok "Installed Node-Red"
|
msg_ok "Installed Node-Red"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|
|
@ -42,6 +42,8 @@ latest_version=$(basename "$latest_url" | sed -e 's/.*ller_//;s/_Li.*//')
|
||||||
msg_info "Installing Omada Controller ${latest_version}"
|
msg_info "Installing Omada Controller ${latest_version}"
|
||||||
wget -qL ${latest_url}
|
wget -qL ${latest_url}
|
||||||
$STD dpkg -i Omada_SDN_Controller_${latest_version}_Linux_x64.deb
|
$STD dpkg -i Omada_SDN_Controller_${latest_version}_Linux_x64.deb
|
||||||
|
echo "bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||||
|
chmod +x /usr/bin/update
|
||||||
msg_ok "Installed Omada Controller ${latest_version}"
|
msg_ok "Installed Omada Controller ${latest_version}"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|
|
@ -48,6 +48,8 @@ if [[ $DEV == "y" ]]; then
|
||||||
$STD git checkout dev
|
$STD git checkout dev
|
||||||
fi
|
fi
|
||||||
$STD npm ci
|
$STD npm ci
|
||||||
|
echo "bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||||
|
chmod +x /usr/bin/update
|
||||||
msg_ok "Installed Zigbee2MQTT"
|
msg_ok "Installed Zigbee2MQTT"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|
|
@ -491,6 +491,7 @@ build_container() {
|
||||||
fi
|
fi
|
||||||
export DISABLEIPV6="$DISABLEIP6"
|
export DISABLEIPV6="$DISABLEIP6"
|
||||||
export APPLICATION="$APP"
|
export APPLICATION="$APP"
|
||||||
|
export app="$NSAPP"
|
||||||
export PASSWORD="$PW"
|
export PASSWORD="$PW"
|
||||||
export VERBOSE="$VERB"
|
export VERBOSE="$VERB"
|
||||||
export SSH_ROOT="${SSH}"
|
export SSH_ROOT="${SSH}"
|
||||||
|
|
Loading…
Reference in New Issue