blob: df1649e8e7734f9a5b4d94ae2b0a6bd8e9932bf3 [file] [log] [blame]
# The top level settings are used as module
# and system configuration.
# 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: true
# Example datasource config
# datasource:
# Ec2:
# metadata_urls: [ 'blah.com' ]
# timeout: 5 # (defaults to 50 seconds)
# max_wait: 10 # (defaults to 120 seconds)
# Disable network-config because Lakitu doesn't support any network renders
# of cloud-init (eni, netplan, sysconfig).
network:
config: disabled
# Lakitu specific: Lakitu has a "stateless" cloud-init, so the following modules
# are all executed upon reboot. Therefore, the concept of module run frequency
# in lakitu is different from Ubuntu. There are only two run frequencies "always"
# and "once" in lakitu. If we rerun cloud-init without rebooting the instance,
# modules with "always" frequency will be rerun, while modules with "once"
# frequency will not.
# The modules that run in the 'init' stage
cloud_init_modules:
- [bootcmd, once]
- [update_etc_hosts, always]
- [users-groups, once]
- [write-files, always]
- [ssh, once]
# The modules that run in the 'config' stage
cloud_config_modules:
- [mounts, once]
- [ssh-import-id, once]
- [timezone, once]
- [disable-ec2-metadata, always]
- [runcmd, always]
# The modules that run in the 'final' stage
cloud_final_modules:
- [rightscale_userdata, once]
- [scripts-vendor, once]
- [scripts-per-once, once]
- [scripts-per-boot, once]
- [scripts-per-instance, once]
- [scripts-user, always]
- [ssh-authkey-fingerprints, once]
- [keys-to-console, once]
- [phone-home, once]
- [final-message, always]
# System and/or distro specific settings
# (not accessible to handlers/transforms)
system_info:
paths:
cloud_dir: /var/lib/cloud/
templates_dir: /etc/cloud/templates/