Created
August 10, 2018 08:42
-
-
Save adrianmoisey/95822d51cb4dd98c08c1ea0ebb204cb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- before.txt 2018-08-10 10:41:07.000000000 +0200 | |
+++ after.txt 2018-08-10 10:41:15.000000000 +0200 | |
@@ -7,16 +7,16 @@ | |
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 default $user | |
+# 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 (ubuntu) | |
disable_root: true | |
# This will cause the set+update hostname module to not operate (if true) | |
preserve_hostname: false | |
# Example datasource config | |
-# datasource: | |
-# Ec2: | |
+# datasource: | |
+# Ec2: | |
# metadata_urls: [ 'blah.com' ] | |
# timeout: 5 # (defaults to 50 seconds) | |
# max_wait: 10 # (defaults to 120 seconds) | |
@@ -29,8 +29,6 @@ | |
- write-files | |
- growpart | |
- resizefs | |
- - disk_setup | |
- - mounts | |
- set_hostname | |
- update_hostname | |
- update_etc_hosts | |
@@ -44,32 +42,27 @@ | |
# Emit the cloud config ready event | |
# this can be used by upstart jobs for 'start on cloud-config'. | |
- emit_upstart | |
- - snap | |
- - snap_config # DEPRECATED- Drop in version 18.2 | |
+ - disk_setup | |
+ - mounts | |
- ssh-import-id | |
- locale | |
- set-passwords | |
- grub-dpkg | |
- apt-pipelining | |
- apt-configure | |
- - ubuntu-advantage | |
- - ntp | |
+ - package-update-upgrade-install | |
+ - landscape | |
- timezone | |
+ - puppet | |
+ - chef | |
+ - salt-minion | |
+ - mcollective | |
- disable-ec2-metadata | |
- runcmd | |
- byobu | |
# The modules that run in the 'final' stage | |
cloud_final_modules: | |
- - snappy # DEPRECATED- Drop in version 18.2 | |
- - package-update-upgrade-install | |
- - fan | |
- - landscape | |
- - lxd | |
- - puppet | |
- - chef | |
- - mcollective | |
- - salt-minion | |
- rightscale_userdata | |
- scripts-vendor | |
- scripts-per-once | |
@@ -92,11 +85,9 @@ | |
name: ubuntu | |
lock_passwd: True | |
gecos: Ubuntu | |
- groups: [adm, audio, cdrom, dialout, dip, floppy, lxd, netdev, plugdev, sudo, video] | |
+ groups: [adm, audio, cdrom, dialout, dip, floppy, netdev, plugdev, sudo, video] | |
sudo: ["ALL=(ALL) NOPASSWD:ALL"] | |
shell: /bin/bash | |
- # Automatically discover the best ntp_client | |
- ntp_client: auto | |
# Other config here will be given to the distro class and/or path classes | |
paths: | |
cloud_dir: /var/lib/cloud/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment