mirror of https://github.com/tteck/Proxmox.git
APK Repos added for Upgrades
Added Repos for beeing able to upgrade from f.e. alpine-linux 3.17 to 3.18 in the future. Also added `https` instead of `http` on repos
This commit is contained in:
parent
f59d272202
commit
5ee01fa57a
|
@ -102,7 +102,7 @@ $STD apk add mc
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Vaultwarden"
|
msg_info "Installing Vaultwarden"
|
||||||
$STD apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing vaultwarden
|
$STD apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing vaultwarden
|
||||||
cat <<EOF >/etc/conf.d/vaultwarden
|
cat <<EOF >/etc/conf.d/vaultwarden
|
||||||
export DATA_FOLDER=/var/lib/vaultwarden
|
export DATA_FOLDER=/var/lib/vaultwarden
|
||||||
export WEB_VAULT_ENABLED=true
|
export WEB_VAULT_ENABLED=true
|
||||||
|
@ -113,6 +113,9 @@ $STD rc-service vaultwarden start
|
||||||
$STD rc-update add vaultwarden default
|
$STD rc-update add vaultwarden default
|
||||||
msg_ok "Installed Vaultwarden"
|
msg_ok "Installed Vaultwarden"
|
||||||
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
|
||||||
|
echo -e "https://dl-3.alpinelinux.org/alpine/latest-stable/main" > /etc/apk/repositories
|
||||||
|
echo -e "https://dl-3.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories
|
||||||
|
echo -e "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
||||||
if [[ "${SSH_ROOT}" == "yes" ]]; then
|
if [[ "${SSH_ROOT}" == "yes" ]]; then
|
||||||
$STD rc-update add sshd
|
$STD rc-update add sshd
|
||||||
$STD /etc/init.d/sshd start
|
$STD /etc/init.d/sshd start
|
||||||
|
|
Loading…
Reference in New Issue