9670285f31
To use another name, use #cloud-config option "users:" in userdata in cloud metadata service. Also, add that user to systemd-journal group
63 lines
1.1 KiB
YAML
63 lines
1.1 KiB
YAML
users:
|
|
- default
|
|
|
|
disable_root: 1
|
|
ssh_pwauth: 0
|
|
|
|
locale_configfile: /etc/sysconfig/i18n
|
|
mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2']
|
|
resize_rootfs_tmp: /dev
|
|
ssh_deletekeys: 0
|
|
ssh_genkeytypes: ~
|
|
syslog_fix_perms: ~
|
|
|
|
cloud_init_modules:
|
|
- bootcmd
|
|
- write-files
|
|
- resizefs
|
|
- set_hostname
|
|
- update_hostname
|
|
- update_etc_hosts
|
|
- rsyslog
|
|
- users-groups
|
|
- ssh
|
|
|
|
cloud_config_modules:
|
|
- mounts
|
|
- locale
|
|
- set-passwords
|
|
- timezone
|
|
- puppet
|
|
- chef
|
|
- salt-minion
|
|
- mcollective
|
|
- disable-ec2-metadata
|
|
- runcmd
|
|
|
|
cloud_final_modules:
|
|
- rightscale_userdata
|
|
- scripts-per-once
|
|
- scripts-per-boot
|
|
- scripts-per-instance
|
|
- scripts-user
|
|
- ssh-authkey-fingerprints
|
|
- keys-to-console
|
|
- phone-home
|
|
- final-message
|
|
|
|
system_info:
|
|
default_user:
|
|
name: fedora
|
|
lock_passwd: true
|
|
gecos: Fedora Cloud User
|
|
groups: [wheel, adm, systemd-journal]
|
|
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
|
|
shell: /bin/bash
|
|
distro: fedora
|
|
paths:
|
|
cloud_dir: /var/lib/cloud
|
|
templates_dir: /etc/cloud/templates
|
|
ssh_svcname: sshd
|
|
|
|
# vim:syntax=yaml
|