Changeset 1147 for trunk/packages/sipb-xen-autoinstaller/common/usr
- Timestamp:
- Oct 19, 2008, 8:15:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-autoinstaller/common/usr/sbin/sipb-xen-create-image
r1124 r1147 11 11 echo ,"${FSSIZE}"$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 "$TARGET" 12 12 13 dmsetup info "$TARGET" && kpartx -a "$TARGET"13 dmsetup info "$TARGET" 2>/dev/null && kpartx -a "$TARGET" 14 14 15 15 xen-create-image --image-dev "${TARGET}1" --swap-dev "${TARGET}2" --fs ext3 --ide \ … … 17 17 --arch "$ARCH" --dist "$DIST" --mirror "$MIRROR" --cache=yes --verbose 18 18 19 dmsetup info "$TARGET" && kpartx -d "$TARGET"19 dmsetup info "$TARGET" 2>/dev/null && kpartx -d "$TARGET" 20 20 21 21 exit 0
Note: See TracChangeset
for help on using the changeset viewer.