kubernetes-sigs/image-builder

Enable NetworkConfigPlugin for cloudbase-init in VMware Windows OVA to allow static IP configuration

laozc opened this issue · 1 comments

Is your feature request related to a problem? Please describe.

We have a PR in upstream cloudbase-init for feature parity with cloudinit
for VMware Datasource at launch.
It allows the Windows node VM to configure network based on the VM instance metadata
(guestinfo.metadata) in VMware environment.
We need to enable NetworkConfigurationPlugin for Windows OVA for those scenarios
such as static IPs are used.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Note:

  1. The current cloudbase-init PR is still pending for review.
    NetworkConfigurationPlugin in current version has no action so no negative impact when it is enabled while old cloudbase-init release is used.
  2. The UserdataPlugin needs to be run after NetworkConfigurationPlugin to make sure userdata is applied after the network configuration is done.

Refer to
https://review.opendev.org/c/x/cloudbase-init/+/913734
for related changes in cloudbase-init.


/kind feature

/assign