From 262581a6fb75462ab6336438dd4c753264632449 Mon Sep 17 00:00:00 2001 From: gitops_test Date: Fri, 12 Jun 2026 07:44:33 +0000 Subject: [PATCH] Add configscript_20260612_074433.yaml --- configscript_20260612_074433.yaml | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 configscript_20260612_074433.yaml diff --git a/configscript_20260612_074433.yaml b/configscript_20260612_074433.yaml new file mode 100644 index 0000000..24607cc --- /dev/null +++ b/configscript_20260612_074433.yaml @@ -0,0 +1,41 @@ +apiVersion: platform.example.org/v1alpha1 +kind: ServerInstance +metadata: + namespace: dataprovider01 + name: offering-name-medium-instance-{UUID} + labels: + uuid: "{UUID}" + reference-kind: xserversinstances +spec: + parameters: + datacenterName: crossplane_datacenter_medium-{UUID} + datacenterDescription: testExampleDescription + datacenterLocation: de/txl + serverName: server + cores: 2 + ram: 2048 + cpuFamily: INTEL_ICELAKE +cloudConfig: +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