Ignore:
Timestamp:
Oct 7, 2008, 12:26:56 AM (16 years ago)
Author:
broder
Message:

Skip kpartx call when running autoinstaller on physical devices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-autoinstaller/common/usr/sbin/sipb-xen-create-image

    r938 r1083  
    1111echo ,"${FSSIZE}"$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 "$TARGET"
    1212
    13 kpartx -a "$TARGET"    # should be no-op in guest
     13dmsetup info "$TARGET" && kpartx -a "$TARGET"
    1414
    1515xen-create-image --image-dev "${TARGET}1" --swap-dev "${TARGET}2" --fs ext3 --ide \
     
    1717 --arch "$ARCH" --dist "$DIST" --mirror "$MIRROR" --cache=yes
    1818
    19 kpartx -d "$TARGET"
     19dmsetup info "$TARGET" && kpartx -d "$TARGET"
    2020
    2121exit 0
Note: See TracChangeset for help on using the changeset viewer.