mirror of https://github.com/tteck/Proxmox.git
parent
8e6f6dc282
commit
1f32020d5c
|
@ -117,7 +117,7 @@ motd_ssh() {
|
||||||
|
|
||||||
customize() {
|
customize() {
|
||||||
msg_info "Customizing Container"
|
msg_info "Customizing Container"
|
||||||
bash -c "/etc/init.d/syslog stop;rc-update del syslog boot;passwd -d root" >/dev/null 2>&1
|
bash -c "passwd -d root" >/dev/null 2>&1
|
||||||
msg_ok "Customized Container"
|
msg_ok "Customized Container"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -125,4 +125,4 @@ root() {
|
||||||
if ! getent shadow root | grep -q '^root:[^:]*:\?\$'; then
|
if ! getent shadow root | grep -q '^root:[^:]*:\?\$'; then
|
||||||
customize
|
customize
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue