Skip to content

Commit 57a3737

Browse files
authored
Merge pull request #987 from yastij/hardcode-interface
hardcode network interface to eth0 in the cluster-template.yaml
2 parents 804c4c9 + fd4b487 commit 57a3737

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/flavorgen/flavors/generators.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ const (
5353
vSphereTemplateVar = "${ VSPHERE_TEMPLATE }"
5454
workerMachineCountVar = "${ WORKER_MACHINE_COUNT }"
5555
controlPlaneEndpointVar = "${ CONTROL_PLANE_ENDPOINT_IP }"
56-
vipNetworkInterfaceVar = "${ VIP_NETWORK_INTERFACE }"
5756
vSphereUsername = "${ VSPHERE_USERNAME }"
5857
vSpherePassword = "${ VSPHERE_PASSWORD }" /* #nosec */
5958
clusterResourceSetNameSuffix = "-crs-0"
@@ -385,8 +384,9 @@ func kubeVIPPod() string {
385384
Value: controlPlaneEndpointVar,
386385
},
387386
{
387+
// this is hardcoded since we use eth0 as a network interface for all of our machines in this template
388388
Name: "vip_interface",
389-
Value: vipNetworkInterfaceVar,
389+
Value: "eth0",
390390
},
391391
},
392392
},

0 commit comments

Comments
 (0)