This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
технология_cloud-init [2024/07/10 14:02] val |
технология_cloud-init [2024/07/17 11:50] (current) val |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Технология Cloud-init ====== | ====== Технология Cloud-init ====== | ||
+ | |||
+ | * [[https://spacevm.ru/docs/6.5/base/operator_guide/domains/cloud_init/|Cloud-init - это программа, запускающаяся на ВМ при загрузке]] | ||
+ | |||
+ | * [[https://cloudinit.readthedocs.io/en/latest/tutorial/qemu.html|Core tutorial with QEMU]] пример smbios | ||
+ | |||
+ | * [[https://cloudinit.readthedocs.io/en/0.7.7/topics/datasources.html#no-cloud|Datasources - No cloud]] user-data and meta-data files | ||
+ | * [[https://cloudinit.readthedocs.io/en/latest/reference/datasources/nocloud.html|Datasources - NoCloud]] filesystem volume labelled CIDATA | ||
+ | |||
+ | * [[https://cloudinit.readthedocs.io/en/latest/reference/modules.html|Module reference]] | ||
* [[https://stackoverflow.com/questions/23065673/how-to-re-run-cloud-init-without-reboot|How to re-run cloud-init without reboot]] | * [[https://stackoverflow.com/questions/23065673/how-to-re-run-cloud-init-without-reboot|How to re-run cloud-init without reboot]] | ||
Line 12: | Line 21: | ||
version: 2 | version: 2 | ||
ethernets: | ethernets: | ||
- | ens3: | + | # ens3: |
+ | enp1s0: | ||
dhcp4: true | dhcp4: true | ||
# dhcp4: false | # dhcp4: false | ||
# addresses: | # addresses: | ||
- | # - 10.5.12.217/24 | + | # - 192.168.X.201/24 |
- | # gateway4: 10.5.12.254 | + | # routes: |
+ | # - to: default | ||
+ | # via: 192.168.X.1 | ||
# nameservers: | # nameservers: | ||
- | # search: [isp.un, corp.un] | + | # search: [isp.un, corpX.un] |
- | # addresses: [8.8.8.8, 4.4.4.4] | + | # addresses: [192.168.X.10] |
</code><code> | </code><code> | ||
# cat user-data | # cat user-data |