SHARE
TWEET

Untitled

a guest Jun 26th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ####
  2. # DigitalOcean: this file was written via cloud-init and composed from /etc/cloud/cloud.cfg
  3. #               In order to support resize events, 'growpart' and 'resizefs' are run each boot.
  4. #               'update_etc_hosts' will be run only once per instance. To see the differences, run
  5. #               'diff -u /etc/cloud/cloud.cfg /etc/cloud/cloud.cfg.d/90-digitalocean.cfg'.
  6. ####
  7.  
  8. users:
  9.  - default
  10.  
  11. disable_root: 1
  12. ssh_pwauth:   0
  13.  
  14. mount_default_fields: [~, ~, 'auto', 'defaults,nofail,x-systemd.requires=cloud-init.service', '0', '2']
  15. resize_rootfs_tmp: /dev
  16. ssh_deletekeys:   0
  17. ssh_genkeytypes:  ~
  18. syslog_fix_perms: ~
  19.  
  20. cloud_init_modules:
  21.  - disk_setup
  22.  - migrator
  23.  - bootcmd
  24.  - write-files
  25.  - [ growpart, always ]
  26.  - [ resizefs, always ]
  27.  - set_hostname
  28.  - update_hostname
  29.  - [ update_etc_hosts, once-per-instance ]
  30.  - rsyslog
  31.  - users-groups
  32.  - ssh
  33.  
  34. cloud_config_modules:
  35.  - mounts
  36.  - locale
  37.  - set-passwords
  38.  - rh_subscription
  39.  - yum-add-repo
  40.  - package-update-upgrade-install
  41.  - timezone
  42.  - puppet
  43.  - chef
  44.  - salt-minion
  45.  - mcollective
  46.  - disable-ec2-metadata
  47.  - runcmd
  48.  
  49. cloud_final_modules:
  50.  - rightscale_userdata
  51.  - scripts-per-once
  52.  - scripts-per-boot
  53.  - scripts-per-instance
  54.  - scripts-user
  55.  - ssh-authkey-fingerprints
  56.  - keys-to-console
  57.  - phone-home
  58.  - final-message
  59.  - power-state-change
  60.  
  61.  system_info:
  62.   default_user:
  63.     name: centos
  64.     lock_passwd: true
  65.     gecos: Cloud User
  66.     groups: [wheel, adm, systemd-journal]
  67.     sudo: ["ALL=(ALL) NOPASSWD:ALL"]
  68.     shell: /bin/bash
  69.   distro: rhel
  70.   paths:
  71.     cloud_dir: /var/lib/cloud
  72.     templates_dir: /etc/cloud/templates
  73.   ssh_svcname: sshd
  74.  
  75. # vim:syntax=yaml
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top