Changeset 929 for trunk/packages/sipb-xen-autoinstaller
- Timestamp:
- Sep 28, 2008, 4:40:06 PM (16 years ago)
- Location:
- trunk/packages/sipb-xen-autoinstaller
- Files:
-
- 6 added
- 1 deleted
- 5 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-autoinstaller/debian/changelog
r760 r929 1 sipb-xen-autoinstaller (2.5) unstable; urgency=low 2 3 * Add sipb-xen-autoinstaller-host binary package, to contain 4 autoinstaller for system VMs 5 * Put common files in both binary packages 6 7 -- Greg Price <price@mit.edu> Sun, 28 Sep 2008 16:36:56 -0400 8 1 9 sipb-xen-autoinstaller (2.4) unstable; urgency=low 2 10 -
trunk/packages/sipb-xen-autoinstaller/debian/control
r753 r929 6 6 Standards-Version: 3.7.2 7 7 8 Package: sipb-xen-autoinstaller-host 9 Architecture: all 10 Provides: ${diverted-files} 11 Conflicts: ${diverted-files} 12 Depends: ${misc:Depends}, patch, xen-tools, sipb-xen-dom0 13 Conflicts: sysvinit, upstart 14 Description: SIPB Xen automatic guest-image installer system (host) 15 This is our automatic guest-image installer system. 16 8 17 Package: sipb-xen-autoinstaller-guest 9 18 Architecture: all 10 19 Provides: ${diverted-files} 11 20 Conflicts: ${diverted-files} 12 Depends: ${misc:Depends}, patch, xen-tools, busybox-static 21 Depends: ${misc:Depends}, patch, xen-tools, busybox-static, lvm2 13 22 Conflicts: sysvinit, upstart 14 23 Description: SIPB Xen automatic guest-image installer system (guest) 15 24 This is our automatic guest-image installer system. 16 17 Package: sipb-xen-autoinstaller-host18 Architecture: all19 Depends: ${misc:Depends}, sipb-xen-host-master20 Description: SIPB Xen automatic guest-image installer system (host)21 This is our automatic guest-image installer system. -
trunk/packages/sipb-xen-autoinstaller/debian/control.in
r760 r929 5 5 Build-Depends: @cdbs@ 6 6 Standards-Version: 3.7.2 7 8 Package: sipb-xen-autoinstaller-host 9 Architecture: all 10 Provides: ${diverted-files} 11 Conflicts: ${diverted-files} 12 Depends: ${misc:Depends}, patch, xen-tools, sipb-xen-dom0 13 Conflicts: sysvinit, upstart 14 Description: SIPB Xen automatic guest-image installer system (host) 15 This is our automatic guest-image installer system. 7 16 8 17 Package: sipb-xen-autoinstaller-guest -
trunk/packages/sipb-xen-autoinstaller/debian/sipb-xen-autoinstaller-guest.install
r745 r929 1 common/* . 1 2 guest/* . -
trunk/packages/sipb-xen-autoinstaller/guest/etc/init.d/rcS.sipb-xen
r760 r929 6 6 ;; 7 7 mirror=*) 8 MIRROR=${x#mirror=}8 export MIRROR=${x#mirror=} 9 9 ;; 10 10 dist=*) 11 DIST=${x#dist=}11 export DIST=${x#dist=} 12 12 ;; 13 13 arch=*) 14 ARCH=${x#arch=}14 export ARCH=${x#arch=} 15 15 ;; 16 16 imagesize=*) 17 IMAGESIZE=${x#imagesize=}17 export IMAGESIZE=${x#imagesize=} 18 18 ;; 19 19 noinstall) … … 22 22 esac 23 23 done 24 24 25 mount -t tmpfs none /var/log 25 26 mount -t tmpfs none /tmp 26 27 28 export TARGET=/dev/hda 29 export ARCH=${ARCH-amd64} 30 export IP=$(ifconfig eth0 | sed -n 's/.*inet addr:\([0-9\.]*\).*/\1/p') 31 export HOSTNAME=$(hostname) 27 32 28 TARGET=/dev/hda 29 ARCH=${ARCH-amd64} 30 IP=$(ifconfig eth0 | sed -n 's/.*inet addr:\([0-9\.]*\).*/\1/p') 31 HOSTNAME=$(hostname) 32 33 echo ,${IMAGESIZE}$',L,*\n,,S\n;\n;' | sfdisk -uM -H 255 -S 63 $TARGET 34 35 xen-create-image --image-dev ${TARGET}1 --swap-dev ${TARGET}2 --fs ext3 --ide --arch $ARCH --dist $DIST --hostname $HOSTNAME --mirror $MIRROR --ip=$IP --netmask=255.255.0.0 --gateway=18.181.0.1 --cache=yes 33 # args passed through environment rather than as 7 positional args 34 /usr/sbin/sipb-xen-create-image 36 35 37 36 busybox poweroff
Note: See TracChangeset
for help on using the changeset viewer.