diff --git a/bootstrap.d/14-fstab.sh b/bootstrap.d/14-fstab.sh index 90c068c..6677540 100644 --- a/bootstrap.d/14-fstab.sh +++ b/bootstrap.d/14-fstab.sh @@ -50,7 +50,7 @@ if [ "$ENABLE_INITRAMFS" = true ] ; then if [ "$ENABLE_DHCP" = false ] ; then # Get cdir from NET_ADDRESS e.g. 24 - cdir=$(${NET_ADDRESS} | cut -d '/' -f2) + cdir=$(printf ${NET_ADDRESS} | cut -d '/' -f2) # Convert cdir ro netmask e.g. 24 to 255.255.255.0 NET_MASK=$(cdr2mask "$cdir")