Moved network info under xen
authorGreg Brockman <gdb@mit.edu>
Sat, 2 Jan 2010 05:11:16 +0000 (00:11 -0500)
committerGreg Brockman <gdb@mit.edu>
Sat, 2 Jan 2010 05:11:16 +0000 (00:11 -0500)
svn path=/trunk/packages/invirt-autoinstaller/; revision=2849

common/usr/sbin/invirt-create-image

index a00561b..9e555a5 100644 (file)
 set -e
 
 if [ "$GATEWAY" = "" ]; then
-    GATEWAY=$(invirt-getconf autoinstaller.gateway)
+    GATEWAY=$(invirt-getconf xen.network.gateway)
 fi
 
 if [ "$NETMASK" = "" ]; then
-    NETMASK=$(invirt-getconf autoinstaller.netmask)
+    NETMASK=$(invirt-getconf xen.network.netmask)
 fi
 
 echo ,"${FSSIZE}"$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 "$TARGET"