svn path=/trunk/packages/invirt-autoinstaller/; revision=2899
-if [ "$GATEWAY" = "" ]; then
- GATEWAY=$(invirt-getconf xen.network.gateway)
+if [ -z "$GATEWAY" ]; then
+ GATEWAY=$(invirt-getconf network.gateway)
-if [ "$NETMASK" = "" ]; then
- NETMASK=$(invirt-getconf xen.network.netmask)
+if [ -z "$NETMASK" ]; then
+ NETMASK=$(invirt-getconf network.netmask)
fi
echo ,"${FSSIZE}"$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 "$TARGET"
fi
echo ,"${FSSIZE}"$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 "$TARGET"