diff options
-rwxr-xr-x | installer/opengnsys_installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index f396457e..ce04e758 100755 --- a/installer/opengnsys_installer.sh +++ b/installer/opengnsys_installer.sh @@ -104,7 +104,7 @@ local DHCPVERSION case "$OSDISTRIB" in Ubuntu) # Postconfiguación personalizada para Ubuntu. # Configuración para DHCP v3. - DHCPVERSION=$(apt-cache show dhcp.?-server$ | \ + DHCPVERSION=$(apt-cache --full search dhcp.?-server$ | \ awk '/Version/ {print substr($2,1,1);}' | \ sort -n | tail -1) if [ $DHCPVERSION = 3 ]; then |