mirror of https://github.com/tteck/Proxmox.git
Update install.func
This commit is contained in:
parent
fd3e9652e8
commit
4cd06c3587
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue