code optimization (#1025)

- remove mc from Ubuntu
- change archive mirrors for Ubuntu
- small tweaks
This commit is contained in:
tteckster 2023-02-06 09:36:01 -05:00 committed by GitHub
parent 474903d5af
commit eeced862da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
161 changed files with 295 additions and 175 deletions

View file

@ -80,6 +80,8 @@ $STD apt-get install -y mc
msg_ok "Installed Dependencies"
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 sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config; systemctl restart sshd; fi
msg_info "Cleaning up"