mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "5bf0944dd986919908736ef780b8bfead8c01b2d" and "46a2b14b09f8fbde6d888c78d019da75805fc48e" have entirely different histories.
5bf0944dd9
...
46a2b14b09
|
@ -20,20 +20,17 @@ $STD apt-get install -y mc
|
|||
$STD apt-get install -y git
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Updating Python3"
|
||||
$STD apt-get install -y \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-venv
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
msg_info "Installing Python3-pip"
|
||||
$STD apt-get install -y python3-pip
|
||||
msg_ok "Installed Python3-pip"
|
||||
|
||||
msg_info "Installing ESPHome"
|
||||
$STD pip install esphome tornado esptool
|
||||
$STD pip3 install esphome
|
||||
msg_ok "Installed ESPHome"
|
||||
|
||||
msg_info "Creating Service"
|
||||
msg_info "Installing ESPHome Dashboard"
|
||||
$STD pip3 install tornado esptool
|
||||
|
||||
service_path="/etc/systemd/system/esphomeDashboard.service"
|
||||
echo "[Unit]
|
||||
Description=ESPHome Dashboard
|
||||
|
@ -44,8 +41,9 @@ Restart=always
|
|||
User=root
|
||||
[Install]
|
||||
WantedBy=multi-user.target" >$service_path
|
||||
systemctl enable -q --now esphomeDashboard.service
|
||||
msg_ok "Created Service"
|
||||
$STD systemctl enable esphomeDashboard.service
|
||||
systemctl start esphomeDashboard
|
||||
msg_ok "Installed ESPHome Dashboard"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
|
|
@ -19,6 +19,10 @@ $STD apt-get install -y \
|
|||
curl \
|
||||
sudo \
|
||||
mc \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-venv \
|
||||
python3-pip \
|
||||
bluez \
|
||||
libffi-dev \
|
||||
libssl-dev \
|
||||
|
@ -37,15 +41,6 @@ $STD apt-get install -y \
|
|||
libatlas-base-dev
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Updating Python3"
|
||||
$STD apt-get install -y \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-venv
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
if [[ "$PCT_OSVERSION" == "11" ]]; then
|
||||
msg_info "Installing pyenv"
|
||||
$STD apt-get install -y \
|
||||
|
|
|
@ -19,17 +19,18 @@ $STD apt-get install -y sudo
|
|||
$STD apt-get install -y mc
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Updating Python3"
|
||||
msg_info "Installing runlike"
|
||||
$STD apt-get install -y \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-venv
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing runlike"
|
||||
$STD pip install runlike
|
||||
if [[ "$PCT_OSVERSION" == "12" ]]; then
|
||||
$STD apt-get install -y pipx
|
||||
$STD pipx install runlike
|
||||
else
|
||||
$STD pip3 install runlike
|
||||
fi
|
||||
msg_ok "Installed runlike"
|
||||
|
||||
get_latest_release() {
|
||||
|
|
|
@ -30,7 +30,7 @@ $STD apt-get -y install \
|
|||
git
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Updating Python"
|
||||
msg_info "Installing Python"
|
||||
$STD apt-get install -y \
|
||||
python3 \
|
||||
python3-dev \
|
||||
|
@ -39,9 +39,8 @@ $STD apt-get install -y \
|
|||
python3-cffi \
|
||||
python3-certbot \
|
||||
python3-certbot-dns-cloudflare
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
$STD python3 -m venv /opt/certbot/
|
||||
msg_ok "Updated Python"
|
||||
msg_ok "Installed Python"
|
||||
|
||||
VERSION="$( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release )"
|
||||
|
||||
|
|
Loading…
Reference in New Issue