Advertisement
Guest User

fedora 31 cloud.cfg

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