Update alpine-install.func

add `sysctl -p` command
fixes https://github.com/tteck/Proxmox/issues/1688
This commit is contained in:
tteckster 2023-08-14 15:12:51 -04:00 committed by GitHub
parent f79d31fdcd
commit 59b4e28413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,6 +117,7 @@ motd_ssh() {
} }
customize() { customize() {
$STD sysctl -p
if [[ "$PASSWORD" == "" ]]; then if [[ "$PASSWORD" == "" ]]; then
msg_info "Customizing Container" msg_info "Customizing Container"
bash -c "passwd -d root" >/dev/null 2>&1 bash -c "passwd -d root" >/dev/null 2>&1