diff --git a/misc/install.func b/misc/install.func index ece22871..84c27829 100644 --- a/misc/install.func +++ b/misc/install.func @@ -59,6 +59,9 @@ msg_error() { setting_up_container() { msg_info "Setting up Container OS" + echo "export HOME=/root" >>/root/.bashrc + echo "export TERM='xterm-256color'" >>/root/.bashrc + . ~/.bashrc sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null echo $tz >/etc/timezone @@ -106,7 +109,6 @@ 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