mirror of https://github.com/tteck/Proxmox.git
close
This commit is contained in:
parent
58504967cf
commit
0717c28a9b
|
@ -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…
Reference in New Issue