pull/1213/head
tteckster 2 years ago committed by GitHub
parent 58504967cf
commit 0717c28a9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      misc/alpine-install.func
  2. 2
      misc/alpine.func

@ -103,6 +103,5 @@ update_os() {
motd_ssh() {
echo "export TERM='xterm-256color'" >>/root/.bashrc
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd
chmod -x /etc/update-motd.d/*
if [[ "${SSH_ROOT}" == "yes" ]]; then $STD rc-update add sshd; $STD /etc/init.d/sshd start; fi
}

@ -386,7 +386,7 @@ fi
msg_info "Starting LXC Container"
pct start $CTID
msg_ok "Started LXC Container"
pct exec $CTID -- ash -c "apk add bash"
pct exec $CTID -- ash -c "apk add bash >/dev/null"
lxc-attach -n $CTID -- bash -c "$(wget -qO - https://raw.githubusercontent.com/tteck/Proxmox/next/install/$var_install.sh)" || exit
}

Loading…
Cancel
Save