From b6a209edd2cae69c3f8f9d79948372829ca6cee5 Mon Sep 17 00:00:00 2001 From: gitops_test Date: Fri, 26 Jun 2026 09:56:46 +0000 Subject: [PATCH] Add copyofconfig_user_20260626_095529.yaml20260626T095646.805577537 --- ...60626_095529.yaml20260626T095646.805577537 | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 copyofconfig_user_20260626_095529.yaml20260626T095646.805577537 diff --git a/copyofconfig_user_20260626_095529.yaml20260626T095646.805577537 b/copyofconfig_user_20260626_095529.yaml20260626T095646.805577537 new file mode 100644 index 0000000..4ab6fd1 --- /dev/null +++ b/copyofconfig_user_20260626_095529.yaml20260626T095646.805577537 @@ -0,0 +1,22 @@ +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" \ No newline at end of file