mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-19 12:56:01 +00:00
close
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user