| [ngd@pgdb-2 cloud]$ cat ./cloud.cfg | |
| # The top level settings are used as module | |
| # and system configuration. | |
| # A set of users which may be applied and/or used by various modules | |
| # when a 'default' entry is found it will reference the 'default_user' | |
| # from the distro configuration specified below | |
| users: | |
| - default | |
| # If this is set, 'root' will not be able to ssh in and they | |
| # will get a message to login instead as the above $user | |
| disable_root: true | |
| # Keep the apt sources we provide, not the one that cloud-init uses. | |
| apt_preserve_sources_list: true | |
| # This will cause the set+update hostname module to not operate (if true) | |
| preserve_hostname: false | |
| datasource: | |
| Ec2: | |
| metadata_urls: | |
| - http://169.254.169.254 | |
| cloud_init_modules: | |
| - migrator | |
| - bootcmd | |
| - write-files | |
| - growpart | |
| - resizefs | |
| - set_hostname | |
| - update_hostname | |
| - update_etc_hosts | |
| - rsyslog | |
| - users-groups | |
| - ssh | |
| cloud_config_modules: | |
| - mounts | |
| - locale | |
| - set-passwords | |
| - yum-add-repo | |
| - package-update-upgrade-install | |
| - 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: ngd | |
| lock_passwd: true | |
| gecos: Cloud User | |
| groups: [wheel, adm, systemd-journal] | |
| sudo: ["ALL=(ALL) NOPASSWD:ALL"] | |
| shell: /bin/bash | |
| distro: rhel | |
| paths: | |
| cloud_dir: /var/lib/cloud | |
| templates_dir: /etc/cloud/templates | |
| ssh_svcname: sshd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment