Delete deploymntscriptbodyAPIvm_pre_prod_env_20260528_162850.yaml
This commit is contained in:
parent
ab29681d04
commit
482be2e7e6
@ -1,41 +0,0 @@
|
|||||||
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"
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user