Changeset 2844
- Timestamp:
- Jan 1, 2010, 11:48:19 PM (15 years ago)
- Location:
- trunk/packages/invirt-autoinstaller
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-autoinstaller/common/usr/sbin/invirt-create-image
r2161 r2844 6 6 # ARCH, DIST, MIRROR 7 7 # HOSTNAME, IP 8 # 9 # Optional: GATEWAY, NETMASK. These default to values in invirt-getconf, if installed 8 10 9 11 set -e 12 13 if [ "$GATEWAY" = "" ]; then 14 GATEWAY=$(invirt-getconf autoinstaller.gateway) 15 fi 16 17 if [ "$NETMASK" = "" ]; then 18 NETMASK=$(invirt-getconf autoinstaller.netmask) 19 fi 10 20 11 21 echo ,"${FSSIZE}"$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 "$TARGET" … … 14 24 15 25 xen-create-image --image-dev "${TARGET}1" --swap-dev "${TARGET}2" --fs ext3 --ide \ 16 --hostname "$HOSTNAME" --ip="$IP" --netmask= 255.255.0.0 --gateway=18.181.0.1\26 --hostname "$HOSTNAME" --ip="$IP" --netmask="$NETMASK" --gateway="$GATEWAY" \ 17 27 --arch "$ARCH" --dist "$DIST" --mirror "$MIRROR" --cache=yes --verbose 18 28 -
trunk/packages/invirt-autoinstaller/debian/changelog
r2441 r2844 1 invirt-autoinstaller (0.0.33) unstable; urgency=low 2 3 * Don't hardcode netmask and gateway 4 5 -- Greg Brockman <gdb@mit.edu> Fri, 01 Jan 2010 23:31:55 -0500 6 1 7 invirt-autoinstaller (0.0.32) unstable; urgency=low 2 8 -
trunk/packages/invirt-autoinstaller/debian/control
r2125 r2844 18 18 Provides: ${diverted-files} 19 19 Conflicts: ${diverted-files}, sysvinit, upstart, xen-hypervisor 20 Depends: ${misc:Depends}, patch, xen-tools, busybox-static, lvm2, kpartx, aptitude 20 Depends: ${misc:Depends}, patch, xen-tools, busybox-static, lvm2, kpartx, aptitude, invirt-base 21 21 Description: SIPB Xen automatic guest-image installer system (guest) 22 22 This is our automatic guest-image installer system.
Note: See TracChangeset
for help on using the changeset viewer.