/usr/share/doc/cloud-init/examples
NameSizeModeActions
seed/-0755rm
boothook.txt800644editdlrm
cloud-config-add-apt-repos.txt15730644editdlrm
cloud-config-ansible-controller.txt73630644editdlrm
cloud-config-ansible-managed.txt38230644editdlrm
cloud-config-ansible-pull.txt3410644editdlrm
cloud-config-apt.txt129940644editdlrm
cloud-config-archive-launch-index.txt8020644editdlrm
cloud-config-archive.txt2390644editdlrm
cloud-config-boot-cmds.txt4060644editdlrm
cloud-config-ca-certs.txt11840644editdlrm
cloud-config-chef-oneiric.txt34550644editdlrm
cloud-config-chef.txt42030644editdlrm
cloud-config-datasources.txt23220644editdlrm
cloud-config-disk-setup.txt90840644editdlrm
cloud-config-gluster.txt4560644editdlrm
cloud-config-install-packages.txt3830644editdlrm
cloud-config-launch-index.txt5700644editdlrm
cloud-config-lxd.txt18140644editdlrm
cloud-config-mount-points.txt15040644editdlrm
cloud-config-ntp.txt8350644editdlrm
cloud-config-reporting.txt3350644editdlrm
cloud-config-run-cmds.txt9630644editdlrm
cloud-config-ssh-keys.txt22890644editdlrm
cloud-config-update-apt.txt2290644editdlrm
cloud-config-update-packages.txt930644editdlrm
cloud-config-user-groups.txt68230644editdlrm
cloud-config-wireguard.txt11830644editdlrm
cloud-config-write-files.txt10780644editdlrm
cloud-config-yum-repo.txt8970644editdlrm
cloud-config.txt165590644editdlrm
include-once.txt3530644editdlrm
include.txt4340644editdlrm
kernel-command-line.txt10290644editdlrm
network-config-v1-bonded-pair.yaml4280644editdlrm
network-config-v1-bonded-vlan.yaml5080644editdlrm
network-config-v1-bridge.yaml6380644editdlrm
network-config-v1-multiple-vlan.yaml12080644editdlrm
network-config-v1-nameserver.yaml4030644editdlrm
network-config-v1-physical-3-nic.yaml4430644editdlrm
network-config-v1-physical-dhcp.yaml1000644editdlrm
network-config-v1-route.yaml3210644editdlrm
network-config-v1-subnet-dhcp.yaml1510644editdlrm
network-config-v1-subnet-multiple.yaml3640644editdlrm
network-config-v1-subnet-routes.yaml5270644editdlrm
network-config-v1-subnet-static.yaml3480644editdlrm
network-config-v1-vlan.yaml2530644editdlrm
part-handler-v2.txt15620644editdlrm
part-handler.txt20810644editdlrm
plain-ignored.txt680644editdlrm
user-script.txt1250644editdlrm
Edit: /usr/share/doc/cloud-init/examples/cloud-config-ssh-keys.txt (2289B)
#cloud-config # add each entry to ~/.ssh/authorized_keys for the configured user or the # first user defined in the user definition directive. ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAGEA3FSyQwBI6Z+nCSjUUk8EEAnnkhXlukKoUPND/RRClWz2s5TCzIkd3Ou5+Cyz71X0XmazM3l5WgeErvtIwQMyT1KjNoMhoJMrJnWqQPOt5Q8zWd9qG7PBl9+eiH5qV7NZ mykey@host - ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3I7VUf2l5gSn5uavROsc5HRDpZdQueUq5ozemNSj8T7enqKHOEaFoU2VoPgGEWC9RyzSQVeyD6s7APMcE82EtmW4skVEgEGSbDc1pvxzxtchBj78hJP6Cf5TCMFSXw+Fz5rF1dR23QDbN1mkHs7adr8GW4kSWqU7Q7NDwfIrJJtO7Hi42GyXtvEONHbiRPOe8stqUly7MvUoN+5kfjBM8Qqpfl2+FNhTYWpMfYdPUnE7u536WqzFmsaqJctz3gBxH9Ex7dFtrxR4qiqEr9Qtlu3xGn7Bw07/+i1D+ey3ONkZLN+LQ714cgj8fRS4Hj29SCmXp5Kt5/82cD/VN3NtHw== smoser@brickies # Send pre-generated SSH private keys to the server # If these are present, they will be written to /etc/ssh and # new random keys will not be generated # in addition to 'rsa' as shown below, 'ecdsa' is also supported ssh_keys: rsa_private: | -----BEGIN RSA PRIVATE KEY----- MIIBxwIBAAJhAKD0YSHy73nUgysO13XsJmd4fHiFyQ+00R7VVu2iV9Qcon2LZS/x 1cydPZ4pQpfjEha6WxZ6o8ci/Ea/w0n+0HGPwaxlEG2Z9inNtj3pgFrYcRztfECb 1j6HCibZbAzYtwIBIwJgO8h72WjcmvcpZ8OvHSvTwAguO2TkR6mPgHsgSaKy6GJo PUJnaZRWuba/HX0KGyhz19nPzLpzG5f0fYahlMJAyc13FV7K6kMBPXTRR6FxgHEg L0MPC7cdqAwOVNcPY6A7AjEA1bNaIjOzFN2sfZX0j7OMhQuc4zP7r80zaGc5oy6W p58hRAncFKEvnEq2CeL3vtuZAjEAwNBHpbNsBYTRPCHM7rZuG/iBtwp8Rxhc9I5w ixvzMgi+HpGLWzUIBS+P/XhekIjPAjA285rVmEP+DR255Ls65QbgYhJmTzIXQ2T9 luLvcmFBC6l35Uc4gTgg4ALsmXLn71MCMGMpSWspEvuGInayTCL+vEjmNBT+FAdO W7D4zCpI43jRS9U06JVOeSc9CDk2lwiA3wIwCTB/6uc8Cq85D9YqpM10FuHjKpnP REPPOyrAspdeOAV+6VKRavstea7+2DZmSUgE -----END RSA PRIVATE KEY----- rsa_public: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAGEAoPRhIfLvedSDKw7XdewmZ3h8eIXJD7TRHtVW7aJX1ByifYtlL/HVzJ09nilCl+MSFrpbFnqjxyL8Rr/DSf7QcY/BrGUQbZn2Kc22PemAWthxHO18QJvWPocKJtlsDNi3 smoser@localhost # By default, the fingerprints of the authorized keys for the users # cloud-init adds are printed to the console. Setting # no_ssh_fingerprints to true suppresses this output. no_ssh_fingerprints: false # By default, (most) ssh host keys are printed to the console. Setting # emit_keys_to_console to false suppresses this output. ssh: emit_keys_to_console: false