Node template in vSphere with cloud-init static IP

I’m trying to create a node template for vSphere.
The problem is that my vlans doesn’t have dhcp.

I have created this cloud-int definition with static IP, but its not creating the network-scripts.

network:
  version: 2
  ethernets:
    Prod:
      wakeonlan: true
      dhcp4: false
      dhcp6: false
      addresses:
        - (ip)/(nm)
      gateway4: (gw)
      nameservers:
        search: [(servers)]
        addresses: [(ips)]
  vlans:
    (vlan name):
      id: (id)
      link: Prod
      dhcp4: yes

Is this possible?

It is possible, check out:

at ~ 1:15 (one hour and 15 minutes)

1 Like