mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									28f5363737
								
							
						
					
					
						commit
						59110997d5
					
				| 
						 | 
					@ -124,6 +124,9 @@ motd_ssh() {
 | 
				
			||||||
    sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
 | 
					    sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
 | 
				
			||||||
    systemctl restart sshd
 | 
					    systemctl restart sshd
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					  if [[ "$PCT_OSVERSION" == "12" ]]; then
 | 
				
			||||||
 | 
					    $STD systemctl disable systemd-networkd-wait-online.service
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This function customizes the container by modifying the getty service and enabling auto-login for the root user
 | 
					# This function customizes the container by modifying the getty service and enabling auto-login for the root user
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue