Delete copyofconfig_user_20260626_095529.yaml20260626T095646.805577537
This commit is contained in:
parent
8159b69d84
commit
8249d4c2de
@ -1,22 +0,0 @@
|
|||||||
hostname: default-server
|
|
||||||
ssh_pwauth: true
|
|
||||||
chpasswd:
|
|
||||||
expire: false
|
|
||||||
users:
|
|
||||||
- default
|
|
||||||
- name: {name}
|
|
||||||
passwd: {pwd}
|
|
||||||
shell: /bin/bash
|
|
||||||
lock_passwd: false
|
|
||||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
|
||||||
groups: users, admin, sudo
|
|
||||||
runcmd:
|
|
||||||
- echo "regenerating host keys"
|
|
||||||
- rm -f /etc/ssh/ssh_host_*
|
|
||||||
- ssh-keygen -A
|
|
||||||
- echo "restarting sshd"
|
|
||||||
- systemctl restart sshd
|
|
||||||
debug: true
|
|
||||||
output:
|
|
||||||
all: "| tee -a /var/log/cloud-init-debug.log"
|
|
||||||
final_message: "Default VM Cloudinit done"
|
|
||||||
Loading…
Reference in New Issue
Block a user