Update alpine-install.func
add `sysctl -p` command fixes https://github.com/tteck/Proxmox/issues/1688
This commit is contained in:
parent
f79d31fdcd
commit
59b4e28413
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue