- Timestamp:
- Sep 28, 2008, 7:34:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-autoinstaller/common/usr/sbin/sipb-xen-create-image
r931 r937 2 2 # Usage: no command-line args. 3 3 # "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) 5 6 # ARCH, DIST, MIRROR 6 7 # HOSTNAME, IP 8 9 set -e 7 10 8 11 echo ,"${IMAGESIZE}"$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 "$TARGET"
Note: See TracChangeset
for help on using the changeset viewer.