Actions
Support #11981
closedImpove my cloud-init for vmware
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:
Description
My cloud-init:
--- globalIPSettings: dnsServerList: - <%= @host.subnet.dns_primary %> dnsSuffixList: - <%= @host.domain %> identity: LinuxPrep: domain: <%= @host.domain %> hostName: <%= @host.shortname %> hwClockUTC: true timeZone: "Europe/Moscow" nicSettingMap: - adapter: dnsDomain: <%= @host.domain %> dnsServerList: - <%= @host.subnet.dns_primary %> gateway: - <%= @host.subnet.gateway %> ip: <%= @host.ip %> subnetMask: <%= @host.subnet.mask %> fqdn: <%= @host %> manage_etc_hosts: true
How i can add multiple interfaces/aliases for using in this template? I suppose need multiple adapter blocks. How i can do foreach for interfaces list?
Actions