default Packages to simple func

now only the real required apps must be installed and listed under "installing dependencies" :)
pull/1261/head
nicedevil007 2 years ago
parent 6368df0b9d
commit 9912938106
  1. 10
      install/alpine-adguard-install.sh
  2. 10
      install/alpine-docker-install.sh
  3. 6
      install/alpine-esphome-install.sh
  4. 10
      install/alpine-grafana-install.sh
  5. 6
      install/alpine-vaultwarden-install.sh
  6. 10
      install/alpine-whoogle-install.sh
  7. 10
      install/alpine-zigbee2mqtt-install.sh
  8. 10
      misc/alpine-install.func

@ -12,14 +12,10 @@ catch_errors
setting_up_container
network_check
update_os
default_packages
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add nano
$STD apk add mc
$STD apk add openssh
msg_ok "Installed Dependencies"
#msg_info "Installing Dependencies"
#msg_ok "Installed Dependencies"
msg_info "Installing Alpine-AdGuard"
VER=$(curl --silent -qI https://github.com/AdguardTeam/AdGuardHome/releases/latest | awk -F '/' '/^location/ {print substr($NF, 1, length($NF)-1)}');

@ -12,14 +12,10 @@ catch_errors
setting_up_container
network_check
update_os
default_packages
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
msg_ok "Installed Dependencies"
#msg_info "Installing Dependencies"
#msg_ok "Installed Dependencies"
msg_info "Installing Docker"
$STD apk add docker

@ -12,13 +12,9 @@ catch_errors
setting_up_container
network_check
update_os
default_packages
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
$STD apk add git
msg_ok "Installed Dependencies"

@ -12,14 +12,10 @@ catch_errors
setting_up_container
network_check
update_os
default_packages
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
msg_ok "Installed Dependencies"
#msg_info "Installing Dependencies"
#msg_ok "Installed Dependencies"
msg_info "Installing Grafana"
$STD apk add grafana

@ -12,14 +12,10 @@ catch_errors
setting_up_container
network_check
update_os
default_packages
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
msg_ok "Installed Dependencies"
msg_info "Installing Alpine-Vaultwarden"

@ -12,14 +12,10 @@ catch_errors
setting_up_container
network_check
update_os
default_packages
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
msg_ok "Installed Dependencies"
#msg_info "Installing Dependencies"
#msg_ok "Installed Dependencies"
msg_info "Installing pip3 Package Manager"
$STD apk add py3-pip

@ -12,14 +12,10 @@ catch_errors
setting_up_container
network_check
update_os
default_packages
msg_info "Installing Dependencies"
$STD apk add newt
$STD apk add curl
$STD apk add openssh
$STD apk add nano
$STD apk add mc
msg_ok "Installed Dependencies"
#msg_info "Installing Dependencies"
#msg_ok "Installed Dependencies"
msg_info "Installing Alpine-Zigbee2MQTT"
$STD apk add zigbee2mqtt

@ -106,6 +106,16 @@ update_os() {
msg_ok "Updated Container OS"
}
default_packages() {
msg_info "Installing Default Packages"
$STD apk add newt
$STD apk add curl
$STD apk add nano
$STD apk add mc
$STD apk add openssh
msg_ok "Installed Default Packages"
}
motd_ssh() {
echo "export TERM='xterm-256color'" >>/root/.bashrc
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd

Loading…
Cancel
Save