sample-etc-cloud-cloud.config 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #
  2. # Sample cloud-init config file.
  3. # For the ntx-ssvm application, the only additions to the default version of this
  4. # file are lines 67 and 68 (runcmd directive). All files (.py/.cfg/.cred) are located in /etc.
  5. #
  6. users:
  7. - default
  8. disable_root: 1
  9. ssh_pwauth: 1
  10. mount_default_fields: [~, ~, 'auto', 'defaults,nofail,x-systemd.requires=cloud-init.service', '0', '2']
  11. resize_rootfs_tmp: /dev
  12. ssh_deletekeys: 1
  13. ssh_genkeytypes: ~
  14. syslog_fix_perms: ~
  15. disable_vmware_customization: true
  16. cloud_init_modules:
  17. - disk_setup
  18. - migrator
  19. - bootcmd
  20. - write-files
  21. - growpart
  22. - resizefs
  23. - set_hostname
  24. - update_etc_hosts
  25. - rsyslog
  26. - users-groups
  27. - ssh
  28. cloud_config_modules:
  29. - mounts
  30. - locale
  31. - set-passwords
  32. - rh_subscription
  33. - yum-add-repo
  34. - package-update-upgrade-install
  35. - timezone
  36. - puppet
  37. - chef
  38. - salt-minion
  39. - mcollective
  40. - disable-ec2-metadata
  41. - runcmd
  42. cloud_final_modules:
  43. - rightscale_userdata
  44. - scripts-per-once
  45. - scripts-per-boot
  46. - scripts-per-instance
  47. - scripts-user
  48. - ssh-authkey-fingerprints
  49. - keys-to-console
  50. - phone-home
  51. - final-message
  52. - power-state-change
  53. system_info:
  54. default_user:
  55. distro: rhel
  56. paths:
  57. cloud_dir: /var/lib/cloud
  58. templates_dir: /etc/cloud/templates
  59. ssh_svcname: sshd
  60. runcmd:
  61. - /usr/bin/python3 /etc/ntx_ssvm_customize.py
  62. # vim:syntax=yaml