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/common/usr/sbin/sipb-xen-create-image

    r931 r937  
    22# Usage: no command-line args.
    33# "arguments" come in environment:
    4 #  TARGET a device filename, IMAGESIZE its size in XXXX what unit?
     4#  TARGET a device filename
     5#  IMAGESIZE the desired filesystem size in megabytes (rest will be swap)
    56#  ARCH, DIST, MIRROR
    67#  HOSTNAME, IP
     8
     9set -e
    710
    811echo ,"${IMAGESIZE}"$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 "$TARGET"
Note: See TracChangeset for help on using the changeset viewer.