Guest User

Untitled

a guest
Mar 1st, 2021
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. # The top level settings are used as module
  2. # and system configuration.
  3.  
  4. # A set of users which may be applied and/or used by various modules
  5. # when a 'default' entry is found it will reference the 'default_user'
  6. # from the distro configuration specified below
  7. users:
  8. - default
  9.  
  10. # If this is set, 'root' will not be able to ssh in and they
  11. # will get a message to login instead as the default $user
  12. disable_root: true
  13.  
  14. mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2']
  15. resize_rootfs_tmp: /dev
  16. ssh_pwauth: 0
  17.  
  18. # This will cause the set+update hostname module to not operate (if true)
  19. preserve_hostname: false
  20.  
  21. # Example datasource config
  22. # datasource:
  23. # Ec2:
  24. # metadata_urls: [ 'blah.com' ]
  25. # timeout: 5 # (defaults to 50 seconds)
  26. # max_wait: 10 # (defaults to 120 seconds)
  27.  
  28. # The modules that run in the 'init' stage
  29. cloud_init_modules:
  30. - migrator
  31. - seed_random
  32. - bootcmd
  33. - write-files
  34. - growpart
  35. - resizefs
  36. - disk_setup
  37. - mounts
  38. - set_hostname
  39. - update_hostname
  40. - update_etc_hosts
  41. - ca-certs
  42. - rsyslog
  43. - users-groups
  44. - ssh
  45.  
  46. # The modules that run in the 'config' stage
  47. cloud_config_modules:
  48. - ssh-import-id
  49. - locale
  50. - set-passwords
  51. - spacewalk
  52. - yum-add-repo
  53. - ntp
  54. - timezone
  55. - disable-ec2-metadata
  56. - runcmd
  57.  
  58. # The modules that run in the 'final' stage
  59. cloud_final_modules:
  60. - package-update-upgrade-install
  61. - puppet
  62. - chef
  63. - mcollective
  64. - salt-minion
  65. - rightscale_userdata
  66. - scripts-vendor
  67. - scripts-per-once
  68. - scripts-per-boot
  69. - scripts-per-instance
  70. - scripts-user
  71. - ssh-authkey-fingerprints
  72. - keys-to-console
  73. - phone-home
  74. - final-message
  75. - power-state-change
  76.  
  77. # System and/or distro specific settings
  78. # (not accessible to handlers/transforms)
  79. system_info:
  80. # This will affect which distro class gets used
  81. distro: fedora
  82. # Default user name + that default users groups (if added/used)
  83. default_user:
  84. name: fedora
  85. lock_passwd: True
  86. gecos: fedora Cloud User
  87. groups: [wheel, adm, systemd-journal]
  88. sudo: ["ALL=(ALL) NOPASSWD:ALL"]
  89. shell: /bin/bash
  90. # Other config here will be given to the distro class and/or path classes
  91. paths:
  92. cloud_dir: /var/lib/cloud/
  93. templates_dir: /etc/cloud/templates/
  94. ssh_svcname: sshd
  95.  
Advertisement
Add Comment
Please, Sign In to add comment