Fix IPv4 netmask

Running dhclient on eth0 gives a /16, and this is necessary anyway to
reach the gateway.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-10-03 14:11:45 +02:00
parent 0bee712a15
commit 8c09af074b
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 2 additions and 2 deletions

View File

@ -61,9 +61,9 @@ AC_ARG_WITH([letsencrypt-email],
AC_ARG_WITH([vm-ipv4-address], AC_ARG_WITH([vm-ipv4-address],
[AS_HELP_STRING([--with-vm-ipv4-address=VM_IPV4_ADDRESS], [Use custom VM [AS_HELP_STRING([--with-vm-ipv4-address=VM_IPV4_ADDRESS], [Use custom VM
IPv4 address. (default=192.168.1.117/24)])], IPv4 address. (default=192.168.1.117/16)])],
[VM_IPV4_ADDRESS=$withval], [VM_IPV4_ADDRESS=$withval],
[VM_IPV4_ADDRESS="192.168.1.117/24"]) [VM_IPV4_ADDRESS="192.168.1.117/16"])
AC_ARG_WITH([vm-ipv6-address], AC_ARG_WITH([vm-ipv6-address],
[AS_HELP_STRING([--with-vm-ipv6-address=VM_IPV6_ADDRESS], [Use custom VM [AS_HELP_STRING([--with-vm-ipv6-address=VM_IPV6_ADDRESS], [Use custom VM