diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-09-02 12:26:26 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-09-02 12:26:26 -0400 |
commit | 128fd80cb0b27430def29bee7a8c473facd84be8 (patch) | |
tree | d457ca5dab90fc33b429ca82c0f2a38ae18a998d /config/cloud.cfg-freebsd | |
parent | e39abc783f7edd6435dbc7ea1fc3d02e6b3955d3 (diff) | |
parent | cc77628e1ee3cd03d1ec2e17f1d744c8f4b0938b (diff) | |
download | vyos-cloud-init-128fd80cb0b27430def29bee7a8c473facd84be8.tar.gz vyos-cloud-init-128fd80cb0b27430def29bee7a8c473facd84be8.zip |
FreeBsd: fix initscripts and add working config file
This set of changes generally produces a functional cloud-init on FreeBsd.
Diffstat (limited to 'config/cloud.cfg-freebsd')
-rw-r--r-- | config/cloud.cfg-freebsd | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/config/cloud.cfg-freebsd b/config/cloud.cfg-freebsd new file mode 100644 index 00000000..bb3a4a51 --- /dev/null +++ b/config/cloud.cfg-freebsd @@ -0,0 +1,88 @@ +# The top level settings are used as module +# and system configuration. + +syslog_fix_perms: root:wheel + +# This should not be required, but leave it in place until the real cause of +# not beeing able to find -any- datasources is resolved. +datasource_list: ['OpenStack'] + +# 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 (ubuntu) +disable_root: false + +# This will cause the set+update hostname module to not operate (if true) +preserve_hostname: false + +# Example datasource config +# datasource: +# Ec2: +# metadata_urls: [ 'blah.com' ] +# timeout: 5 # (defaults to 50 seconds) +# max_wait: 10 # (defaults to 120 seconds) + +# The modules that run in the 'init' stage +cloud_init_modules: +# - migrator + - seed_random + - bootcmd +# - write-files + - growpart + - resizefs + - set_hostname + - update_hostname +# - update_etc_hosts +# - ca-certs +# - rsyslog + - users-groups + - ssh + +# The modules that run in the 'config' stage +cloud_config_modules: +# - disk_setup +# - mounts + - ssh-import-id + - locale +# - set-passwords +# - 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: + - rightscale_userdata + - scripts-vendor + - scripts-per-once + - scripts-per-boot + - scripts-per-instance + - scripts-user + - ssh-authkey-fingerprints + - keys-to-console + - phone-home + - final-message + - power-state-change + +# System and/or distro specific settings +# (not accessible to handlers/transforms) +system_info: + distro: freebsd + default_user: + name: beastie + lock_passwd: True + gecos: FreeBSD + groups: [wheel] + sudo: ["ALL=(ALL) NOPASSWD:ALL"] + shell: /bin/sh |