/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-wireguard.txt (1183B)
#cloud-config # vim: syntax=yaml # # This is the configuration syntax that the wireguard module # will know how to understand. # # wireguard: # All wireguard interfaces that should be created. Every interface will be named # after `name` parameter and config will be written to a file under `config_path`. # `content` parameter should be set with a valid Wireguard configuration. interfaces: - name: wg0 config_path: /etc/wireguard/wg0.conf content: | [Interface] PrivateKey = Address =
[Peer] PublicKey = Endpoint = : AllowedIPs = , , ... # The idea behind readiness probes is to ensure Wireguard connectivity before continuing # the cloud-init process. This could be useful if you need access to specific services like # an internal APT Repository Server (e.g Landscape) to install/update packages. readinessprobe: - 'systemctl restart service' - 'curl https://webhook.endpoint/example' - 'nc -zv apt-server-fqdn 443'