Refactor
This commit is contained in:
9
packer/qemu/http/seed/user-data
Normal file
9
packer/qemu/http/seed/user-data
Normal file
@@ -0,0 +1,9 @@
|
||||
#cloud-config
|
||||
|
||||
ssh_pwauth: true
|
||||
disable_root: false
|
||||
chpasswd: { list: ["root:toor"], expire: false }
|
||||
|
||||
runcmd:
|
||||
- printf '%s\n' 'PermitRootLogin yes' >> /etc/ssh/sshd_config
|
||||
- systemctl restart ssh.service
|
Reference in New Issue
Block a user