Jelajahi Sumber

Update alpine-install.func

add `sysctl -p` command
fixes https://github.com/tteck/Proxmox/issues/1688
tteckster 1 tahun lalu
induk
melakukan
59b4e28413
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      misc/alpine-install.func

+ 2 - 1
misc/alpine-install.func

@@ -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
-}
+}