X7ROOT File Manager
Current Path:
/usr/share/doc/cloud-init/examples
usr
/
share
/
doc
/
cloud-init
/
examples
/
📁
..
📄
cloud-config-add-apt-repos.txt
(1.54 KB)
📄
cloud-config-apt.txt
(12.52 KB)
📄
cloud-config-archive-launch-index.txt
(802 B)
📄
cloud-config-archive.txt
(244 B)
📄
cloud-config-boot-cmds.txt
(634 B)
📄
cloud-config-ca-certs.txt
(1.07 KB)
📄
cloud-config-chef-oneiric.txt
(3.43 KB)
📄
cloud-config-chef.txt
(4.12 KB)
📄
cloud-config-datasources.txt
(2.43 KB)
📄
cloud-config-disk-setup.txt
(9.11 KB)
📄
cloud-config-final-message.txt
(252 B)
📄
cloud-config-gluster.txt
(456 B)
📄
cloud-config-growpart.txt
(980 B)
📄
cloud-config-install-packages.txt
(378 B)
📄
cloud-config-landscape.txt
(779 B)
📄
cloud-config-launch-index.txt
(594 B)
📄
cloud-config-lxd.txt
(1.76 KB)
📄
cloud-config-mcollective.txt
(2.44 KB)
📄
cloud-config-mount-points.txt
(1.46 KB)
📄
cloud-config-ntp.txt
(835 B)
📄
cloud-config-phone-home.txt
(364 B)
📄
cloud-config-power-state.txt
(1.58 KB)
📄
cloud-config-puppet.txt
(2.13 KB)
📄
cloud-config-reporting.txt
(405 B)
📄
cloud-config-resolv-conf.txt
(527 B)
📄
cloud-config-rh_subscription.txt
(1.43 KB)
📄
cloud-config-rsyslog.txt
(1.44 KB)
📄
cloud-config-run-cmds.txt
(964 B)
📄
cloud-config-salt-minion.txt
(2.35 KB)
📄
cloud-config-seed-random.txt
(1.25 KB)
📄
cloud-config-ssh-keys.txt
(3.21 KB)
📄
cloud-config-update-apt.txt
(252 B)
📄
cloud-config-update-packages.txt
(143 B)
📄
cloud-config-user-groups.txt
(5.54 KB)
📄
cloud-config-vendor-data.txt
(561 B)
📄
cloud-config-write-files.txt
(1.11 KB)
📄
cloud-config-yum-repo.txt
(683 B)
📄
cloud-config.txt
(21.23 KB)
📄
include-once.txt
(353 B)
📄
include.txt
(237 B)
📄
kernel-cmdline.txt
(839 B)
📄
part-handler-v2.txt
(1.53 KB)
📄
part-handler.txt
(834 B)
📄
plain-ignored.txt
(68 B)
📁
seed
📄
upstart-cloud-config.txt
(182 B)
📄
upstart-rclocal.txt
(217 B)
📄
user-script.txt
(125 B)
Editing: cloud-config-chef-oneiric.txt
#cloud-config # # This is an example file to automatically install chef-client and run a # list of recipes when the instance boots for the first time. # Make sure that this file is valid yaml before starting instances. # It should be passed as user-data when starting the instance. # # This example assumes the instance is 11.10 (oneiric) # The default is to install from packages. # Key from http://apt.opscode.com/packages@opscode.com.gpg.key apt: sources: - source: "deb http://apt.opscode.com/ $RELEASE-0.10 main" key: | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.9 (GNU/Linux) mQGiBEppC7QRBADfsOkZU6KZK+YmKw4wev5mjKJEkVGlus+NxW8wItX5sGa6kdUu twAyj7Yr92rF+ICFEP3gGU6+lGo0Nve7KxkN/1W7/m3G4zuk+ccIKmjp8KS3qn99 dxy64vcji9jIllVa+XXOGIp0G8GEaj7mbkixL/bMeGfdMlv8Gf2XPpp9vwCgn/GC JKacfnw7MpLKUHOYSlb//JsEAJqao3ViNfav83jJKEkD8cf59Y8xKia5OpZqTK5W ShVnNWS3U5IVQk10ZDH97Qn/YrK387H4CyhLE9mxPXs/ul18ioiaars/q2MEKU2I XKfV21eMLO9LYd6Ny/Kqj8o5WQK2J6+NAhSwvthZcIEphcFignIuobP+B5wNFQpe DbKfA/0WvN2OwFeWRcmmd3Hz7nHTpcnSF+4QX6yHRF/5BgxkG6IqBIACQbzPn6Hm sMtm/SVf11izmDqSsQptCrOZILfLX/mE+YOl+CwWSHhl+YsFts1WOuh1EhQD26aO Z84HuHV5HFRWjDLw9LriltBVQcXbpfSrRP5bdr7Wh8vhqJTPjrQnT3BzY29kZSBQ YWNrYWdlcyA8cGFja2FnZXNAb3BzY29kZS5jb20+iGAEExECACAFAkppC7QCGwMG CwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRApQKupg++Caj8sAKCOXmdG36gWji/K +o+XtBfvdMnFYQCfTCEWxRy2BnzLoBBFCjDSK6sJqCu5Ag0ESmkLtBAIAIO2SwlR lU5i6gTOp42RHWW7/pmW78CwUqJnYqnXROrt3h9F9xrsGkH0Fh1FRtsnncgzIhvh DLQnRHnkXm0ws0jV0PF74ttoUT6BLAUsFi2SPP1zYNJ9H9fhhK/pjijtAcQwdgxu wwNJ5xCEscBZCjhSRXm0d30bK1o49Cow8ZIbHtnXVP41c9QWOzX/LaGZsKQZnaMx EzDk8dyyctR2f03vRSVyTFGgdpUcpbr9eTFVgikCa6ODEBv+0BnCH6yGTXwBid9g w0o1e/2DviKUWCC+AlAUOubLmOIGFBuI4UR+rux9affbHcLIOTiKQXv79lW3P7W8 AAfniSQKfPWXrrcAAwUH/2XBqD4Uxhbs25HDUUiM/m6Gnlj6EsStg8n0nMggLhuN QmPfoNByMPUqvA7sULyfr6xCYzbzRNxABHSpf85FzGQ29RF4xsA4vOOU8RDIYQ9X Q8NqqR6pydprRFqWe47hsAN7BoYuhWqTtOLSBmnAnzTR5pURoqcquWYiiEavZixJ 3ZRAq/HMGioJEtMFrvsZjGXuzef7f0ytfR1zYeLVWnL9Bd32CueBlI7dhYwkFe+V Ep5jWOCj02C1wHcwt+uIRDJV6TdtbIiBYAdOMPk15+VBdweBXwMuYXr76+A7VeDL zIhi7tKFo6WiwjKZq0dzctsJJjtIfr4K4vbiD9Ojg1iISQQYEQIACQUCSmkLtAIb DAAKCRApQKupg++CauISAJ9CxYPOKhOxalBnVTLeNUkAHGg2gACeIsbobtaD4ZHG 0GLl8EkfA8uhluM= =zKAm -----END PGP PUBLIC KEY BLOCK----- chef: # 11.10 will fail if install_type is "gems" (LP: #960576) install_type: "packages" # Chef settings server_url: "https://chef.yourorg.com:4000" # Node Name # Defaults to the instance-id if not present node_name: "your-node-name" # Environment # Defaults to '_default' if not present environment: "production" # Default validation name is chef-validator validation_name: "yourorg-validator" # value of validation_cert is not used if validation_key defined, # but variable needs to be defined (LP: #960547) validation_cert: "unused" validation_key: | -----BEGIN RSA PRIVATE KEY----- YOUR-ORGS-VALIDATION-KEY-HERE -----END RSA PRIVATE KEY----- # A run list for a first boot json run_list: - "recipe[apache2]" - "role[db]" # Specify a list of initial attributes used by the cookbooks initial_attributes: apache: prefork: maxclients: 100 keepalive: "off" # Capture all subprocess output into a logfile # Useful for troubleshooting cloud-init issues output: {all: '| tee -a /var/log/cloud-init-output.log'}
Upload File
Create Folder