Ignore:
Timestamp:
Sep 28, 2008, 7:34:10 PM (16 years ago)
Author:
price
Message:

tweak autoinstall scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-autoinstaller/host/usr/sbin/sipb-xen-install

    r931 r937  
    77export PATH #WTF?
    88
     9LVNAME="$1"
    910export HOSTNAME="$2"
    1011export DIST="$3"
    1112export MIRROR="$4"
    12 export IMAGESIZE="$5"
     13export IMAGESIZE="$5"  # in megabytes
    1314export IP="$6"
    1415
     
    2122fi
    2223
    23 export TARGET=/dev/mapper/xenvg-d_$(echo "$HOSTNAME" | sed -e 's/-/--/g')_hda
     24export TARGET=/dev/mapper/xenvg-$(echo "$LVNAME" | sed -e 's/-/--/g')_hda
    2425
    2526/usr/sbin/sipb-xen-create-image
Note: See TracChangeset for help on using the changeset viewer.