/
usr
/
share
/
doc
/
cloud-init
/
examples
/
/usr/share/doc/cloud-init/examples
mkdir
upload
Name
Size
Mode
Actions
seed/
-
0755
rm
boothook.txt
80
0644
edit
dl
rm
cloud-config-add-apt-repos.txt
1573
0644
edit
dl
rm
cloud-config-ansible-controller.txt
7363
0644
edit
dl
rm
cloud-config-ansible-managed.txt
3823
0644
edit
dl
rm
cloud-config-ansible-pull.txt
341
0644
edit
dl
rm
cloud-config-apt.txt
12994
0644
edit
dl
rm
cloud-config-archive-launch-index.txt
802
0644
edit
dl
rm
cloud-config-archive.txt
239
0644
edit
dl
rm
cloud-config-boot-cmds.txt
406
0644
edit
dl
rm
cloud-config-ca-certs.txt
1184
0644
edit
dl
rm
cloud-config-chef-oneiric.txt
3455
0644
edit
dl
rm
cloud-config-chef.txt
4203
0644
edit
dl
rm
cloud-config-datasources.txt
2322
0644
edit
dl
rm
cloud-config-disk-setup.txt
9084
0644
edit
dl
rm
cloud-config-gluster.txt
456
0644
edit
dl
rm
cloud-config-install-packages.txt
383
0644
edit
dl
rm
cloud-config-launch-index.txt
570
0644
edit
dl
rm
cloud-config-lxd.txt
1814
0644
edit
dl
rm
cloud-config-mount-points.txt
1504
0644
edit
dl
rm
cloud-config-ntp.txt
835
0644
edit
dl
rm
cloud-config-reporting.txt
335
0644
edit
dl
rm
cloud-config-run-cmds.txt
963
0644
edit
dl
rm
cloud-config-ssh-keys.txt
2289
0644
edit
dl
rm
cloud-config-update-apt.txt
229
0644
edit
dl
rm
cloud-config-update-packages.txt
93
0644
edit
dl
rm
cloud-config-user-groups.txt
6823
0644
edit
dl
rm
cloud-config-wireguard.txt
1183
0644
edit
dl
rm
cloud-config-write-files.txt
1078
0644
edit
dl
rm
cloud-config-yum-repo.txt
897
0644
edit
dl
rm
cloud-config.txt
16559
0644
edit
dl
rm
include-once.txt
353
0644
edit
dl
rm
include.txt
434
0644
edit
dl
rm
kernel-command-line.txt
1029
0644
edit
dl
rm
network-config-v1-bonded-pair.yaml
428
0644
edit
dl
rm
network-config-v1-bonded-vlan.yaml
508
0644
edit
dl
rm
network-config-v1-bridge.yaml
638
0644
edit
dl
rm
network-config-v1-multiple-vlan.yaml
1208
0644
edit
dl
rm
network-config-v1-nameserver.yaml
403
0644
edit
dl
rm
network-config-v1-physical-3-nic.yaml
443
0644
edit
dl
rm
network-config-v1-physical-dhcp.yaml
100
0644
edit
dl
rm
network-config-v1-route.yaml
321
0644
edit
dl
rm
network-config-v1-subnet-dhcp.yaml
151
0644
edit
dl
rm
network-config-v1-subnet-multiple.yaml
364
0644
edit
dl
rm
network-config-v1-subnet-routes.yaml
527
0644
edit
dl
rm
network-config-v1-subnet-static.yaml
348
0644
edit
dl
rm
network-config-v1-vlan.yaml
253
0644
edit
dl
rm
part-handler-v2.txt
1562
0644
edit
dl
rm
part-handler.txt
2081
0644
edit
dl
rm
plain-ignored.txt
68
0644
edit
dl
rm
user-script.txt
125
0644
edit
dl
rm
Edit:
/usr/share/doc/cloud-init/examples/cloud-config-datasources.txt
(2322B)
#cloud-config # Documentation on data sources configuration options datasource: # Ec2 Ec2: # timeout: the timeout value for a request at metadata service timeout : 50 # The length in seconds to wait before giving up on the metadata # service. The actual total wait could be up to # len(resolvable_metadata_urls)*timeout max_wait : 240 #metadata_url: a list of URLs to check for metadata services metadata_urls: - http://169.254.169.254:80 - http://instance-data:8773 MAAS: timeout : 50 max_wait : 120 # there are no default values for metadata_url or oauth credentials # If no credentials are present, non-authed attempts will be made. metadata_url: http://mass-host.localdomain/source consumer_key: Xh234sdkljf token_key: kjfhgb3n token_secret: 24uysdfx1w4 NoCloud: # default seedfrom is None # if found, then it should contain a url with: # <url>/user-data and <url>/meta-data # seedfrom: http://my.example.com/i-abcde/ seedfrom: None # fs_label: the label on filesystems to be searched for NoCloud source fs_label: cidata # these are optional, but allow you to basically provide a datasource # right here user-data: | # This is the user-data verbatim meta-data: | instance-id: i-87018aed local-hostname: myhost.internal SmartOS: # For KVM guests: # Smart OS datasource works over a serial console interacting with # a server on the other end. By default, the second serial console is the # device. SmartOS also uses a serial timeout of 60 seconds. serial_device: /dev/ttyS1 serial_timeout: 60 # For LX-Brand Zones guests: # Smart OS datasource works over a socket interacting with # the host on the other end. By default, the socket file is in # the native .zoncontrol directory. metadata_sockfile: /native/.zonecontrol/metadata.sock # a list of keys that will not be base64 decoded even if base64_all no_base64_decode: ['root_authorized_keys', 'motd_sys_info', 'iptables_disable'] # a plaintext, comma delimited list of keys whose values are b64 encoded base64_keys: [] # a boolean indicating that all keys not in 'no_base64_decode' are encoded base64_all: False
Save
cmd:
run