This commit is contained in:
tteckster 2023-03-21 21:14:23 -04:00 committed by GitHub
parent 58504967cf
commit 0717c28a9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}