haproxytech / vmware-haproxy

Apache License 2.0
51 stars 24 forks source link

Management Network IP Subnet mask ignored #12

Closed ruffy91 closed 3 years ago

ruffy91 commented 3 years ago

After deploying a 0.1.10 haproxy ova the subnet for the Management network is wrong. I deployed it using 10.42.1.31/24 as Management IP but in the deployed VM in /etc/systemd/network/10-management.conf Address is set to 10.42.1.31 without a netmask which defaults to 10.0.0.0/8 as network.

ruffy91 commented 3 years ago

Shame on me. I just rechecked everything and I forgot to add the netmask when deploying the ova.

This is probably the reason that most OVA appliances want IP and netmask in separate fields so that they can validate that both are entered by the user