Guest User

Untitled

a guest
Jan 25th, 2021
56
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: false
  13. ssh_pwauth: true
  14.  
  15. # This will cause the set+update hostname module to not operate (if true)
  16. preserve_hostname: false
  17.  
  18. # Example datasource config
  19. # datasource:
  20. # Ec2:
  21. # metadata_urls: [ 'blah.com' ]
  22. # timeout: 5 # (defaults to 50 seconds)
  23. # max_wait: 10 # (defaults to 120 seconds)
  24.  
  25.  
  26.  
  27. # The modules that run in the 'init' stage
  28. cloud_init_modules:
  29. - migrator
  30. - seed_random
  31. - bootcmd
  32. - write-files
  33. - growpart
  34. - resizefs
  35. - disk_setup
  36. - mounts
  37. - set_hostname
  38. - update_hostname
  39. - update_etc_hosts
  40. - ca-certs
  41. - rsyslog
  42. - users-groups
  43. - ssh
  44.  
  45. # The modules that run in the 'config' stage
  46. cloud_config_modules:
  47. - ssh-import-id
  48. - locale
  49. - set-passwords
  50. - ntp
  51. - timezone
  52. - disable-ec2-metadata
  53. - runcmd
  54.  
  55. # The modules that run in the 'final' stage
  56. cloud_final_modules:
  57. - package-update-upgrade-install
  58. - puppet
  59. - chef
  60. - mcollective
  61. - salt-minion
  62. - reset_rmc
  63. - refresh_rmc_and_interface
  64. - rightscale_userdata
  65. - scripts-vendor
  66. - scripts-per-once
  67. - scripts-per-boot
  68. - scripts-per-instance
  69. - scripts-user
  70. - ssh-authkey-fingerprints
  71. - keys-to-console
  72. - phone-home
  73. - final-message
  74. - power-state-change
  75.  
  76. # System and/or distro specific settings
  77. # (not accessible to handlers/transforms)
  78. system_info:
  79. # This will affect which distro class gets used
  80. distro: arch
  81. # Default user name + that default users groups (if added/used)
  82. default_user:
  83. name: arch
  84. lock_passwd: False
  85. gecos: arch Cloud User
  86. groups: [wheel, users]
  87. sudo: ["ALL=(ALL) NOPASSWD:ALL"]
  88. shell: /bin/bash
  89. # Other config here will be given to the distro class and/or path classes
  90. paths:
  91. cloud_dir: /var/lib/cloud/
  92. templates_dir: /etc/cloud/templates/
  93. ssh_svcname: sshd
  94.  
  95. growpart:
  96. mode: auto
  97. devices: ["/"]
  98. ignore_growroot_disabled: false
Advertisement
Add Comment
Please, Sign In to add comment