Update install.func

This commit is contained in:
tteckster 2023-05-10 17:36:05 -04:00 committed by GitHub
parent fd3e9652e8
commit 4cd06c3587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -59,6 +59,9 @@ msg_error() {
setting_up_container() { setting_up_container() {
msg_info "Setting up Container OS" 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 sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
locale-gen >/dev/null locale-gen >/dev/null
echo $tz >/etc/timezone echo $tz >/etc/timezone
@ -106,7 +109,6 @@ update_os() {
} }
motd_ssh() { motd_ssh() {
echo "export TERM='xterm-256color'" >>/root/.bashrc
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd
chmod -x /etc/update-motd.d/* chmod -x /etc/update-motd.d/*
if [[ "${SSH_ROOT}" == "yes" ]]; then if [[ "${SSH_ROOT}" == "yes" ]]; then