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,9 +117,10 @@ 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
msg_ok "Customized Container" msg_ok "Customized Container"
fi fi
} }