mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-08 22:36:33 +08:00
Update ipv4_static_ipv6_dhcp_interfaces.cfg
This commit is contained in:
parent
802635c4e0
commit
a19f975ca8
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#cloud-config
|
||||
# CLOUD_IMG: This file was created/modified by the Cloud Image build process
|
||||
# https://cloudinit.readthedocs.io/en/22.1_a/
|
||||
datasource_list: [NoCloud]
|
||||
datasource_list: [ NoCloud, None ]
|
||||
|
||||
# configure localization
|
||||
locale: en_US.UTF-8
|
||||
|
@ -50,6 +50,7 @@ runcmd:
|
|||
- sed -ri 's/^#?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config
|
||||
- sed -ri 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
|
||||
- systemctl enable sshd
|
||||
- ssh-keygen -A
|
||||
- systemctl restart sshd
|
||||
- systemctl stop kdump
|
||||
- systemctl disable kdump
|
||||
|
|
Loading…
Add table
Reference in a new issue