chore: cleanup cloud-init config formatting
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details

This commit is contained in:
Robert Kaussow 2024-01-24 22:08:17 +01:00
parent 7d25e4b0c6
commit 7cb1a3da27
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 43 additions and 45 deletions

View File

@ -1,55 +1,55 @@
users: users:
- default - default
disable_root: 0 disable_root: 0
ssh_pwauth: 0 ssh_pwauth: 0
mount_default_fields: [~, ~, 'auto', 'defaults,nofail,x-systemd.requires=cloud-init.service', '0', '2'] mount_default_fields: [~, ~, 'auto', 'defaults,nofail,x-systemd.requires=cloud-init.service', '0', '2']
resize_rootfs_tmp: /dev resize_rootfs_tmp: /dev
ssh_deletekeys: 1 ssh_deletekeys: 1
ssh_genkeytypes: ['rsa', 'ecdsa', 'ed25519'] ssh_genkeytypes: ['rsa', 'ecdsa', 'ed25519']
syslog_fix_perms: ~ syslog_fix_perms: ~
disable_vmware_customization: false disable_vmware_customization: false
cloud_init_modules: cloud_init_modules:
- disk_setup - disk_setup
- migrator - migrator
- bootcmd - bootcmd
- write-files - write-files
- [ growpart, always ] - [ growpart, always ]
- [ resizefs, always ] - [ resizefs, always ]
- set_hostname - set_hostname
- update_hostname - update_hostname
- [ update_etc_hosts, once-per-instance ] - [ update_etc_hosts, once-per-instance ]
- rsyslog - rsyslog
- users-groups - users-groups
- ssh - ssh
cloud_config_modules: cloud_config_modules:
- mounts - mounts
- locale - locale
- set-passwords - set-passwords
- rh_subscription - rh_subscription
- yum-add-repo - yum-add-repo
- timezone - timezone
- puppet - puppet
- chef - chef
- salt-minion - salt-minion
- mcollective - mcollective
- disable-ec2-metadata - disable-ec2-metadata
- runcmd - runcmd
cloud_final_modules: cloud_final_modules:
- rightscale_userdata - rightscale_userdata
- scripts-per-once - scripts-per-once
- scripts-per-boot - scripts-per-boot
- scripts-per-instance - scripts-per-instance
- scripts-user - scripts-user
- ssh-authkey-fingerprints - ssh-authkey-fingerprints
- keys-to-console - keys-to-console
- phone-home - phone-home
- final-message - final-message
- power-state-change - power-state-change
system_info: system_info:
default_user: default_user:
@ -64,5 +64,3 @@ system_info:
cloud_dir: /var/lib/cloud cloud_dir: /var/lib/cloud
templates_dir: /etc/cloud/templates templates_dir: /etc/cloud/templates
ssh_svcname: sshd ssh_svcname: sshd
# vim:syntax=yaml

View File

@ -1,9 +1,9 @@
disable_root: 0 disable_root: 0
ssh_pwauth: 1 ssh_pwauth: 1
# Set the distro defaults # Set the distro defaults
system_info: system_info:
default_user: default_user:
name: root name: root
shell: /bin/bash shell: /bin/bash
lock_passwd: false lock_passwd: false