Greg Brockman [Mon, 18 Jan 2010 00:08:13 +0000 (19:08 -0500)]
Changed xen.network -> xen; fixed style for omitted option
svn path=/trunk/packages/invirt-autoinstaller/; revision=2899
Greg Brockman [Sat, 2 Jan 2010 05:11:16 +0000 (00:11 -0500)]
Moved network info under xen
svn path=/trunk/packages/invirt-autoinstaller/; revision=2849
Greg Brockman [Sat, 2 Jan 2010 04:48:19 +0000 (23:48 -0500)]
Don't hardcode netmask and gateway
svn path=/trunk/packages/invirt-autoinstaller/; revision=2844
Evan Broder [Thu, 13 Aug 2009 15:36:13 +0000 (11:36 -0400)]
Revert the "Hack to be differently specific". It wasn't working.
This reverts commit r2376.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2441
Evan Broder [Sun, 9 Aug 2009 18:01:18 +0000 (14:01 -0400)]
In invirt-autoinstaller:
* Hack to be differently specific when replacing the root= lines. This
should replace both the actual grub config lines and the kopt line,
but leave lines like groot alone.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2376
Evan Broder [Mon, 27 Jul 2009 03:00:11 +0000 (23:00 -0400)]
In invirt-autoinstaller:
* When we're installing the world, be sure to block debconf prompts from
coming up.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2365
Evan Broder [Sun, 14 Jun 2009 02:33:39 +0000 (22:33 -0400)]
In invirt-autoinstaller:
* Be more specific when replacing root= lines with UUID equivalents in
the grub menu.lst. This avoids replacing things like groot, which
makes pygrub unhappy.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2359
Evan Broder [Sun, 3 May 2009 06:50:29 +0000 (02:50 -0400)]
In invirt-autoinstaller:
* We're using bashisms in 93-setup-grub, so let's use bash.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2343
Evan Broder [Sun, 3 May 2009 05:41:25 +0000 (01:41 -0400)]
In invirt-autoinstaller:
* Correctly detect what the path to the block devices in fstab are.
* Never prompt when updating the grub config after frobbing it.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2341
Evan Broder [Sun, 3 May 2009 05:19:10 +0000 (01:19 -0400)]
In invirt-autoinstaller:
* Switch the grub config and /etc/fstab to using UUIDs for specifying
the boot and swap partitions.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2339
Evan Broder [Sun, 3 May 2009 04:15:12 +0000 (00:15 -0400)]
In invirt-autoinstaller:
* Uh...right. Let's edit the event.d file and menu.lst within the
install prefix for Intrepid/Jaunty.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2337
Evan Broder [Sun, 3 May 2009 03:46:02 +0000 (23:46 -0400)]
In invirt-autoinstaller:
* Add a new version of our patches to work with the current Ubuntu
update-grub, instead of trying to use the indomU variable (which still
excludes kernels from showing up in the menu.lst).
svn path=/trunk/packages/invirt-autoinstaller/; revision=2335
Evan Broder [Sun, 3 May 2009 02:56:47 +0000 (22:56 -0400)]
In invirt-autoinstaller:
* Create the shell of a menu.lst file needed to successfully parse
indomU=true out of it.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2333
Evan Broder [Sun, 3 May 2009 02:21:11 +0000 (22:21 -0400)]
In invirt-autoinstaller:
* For Jaunty systems, edit /boot/grub/menu.lst appropriately to work
with the fix for LP #291256.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2330
Evan Broder [Sun, 3 May 2009 01:44:24 +0000 (21:44 -0400)]
Whoops - I'm an idiot and reversed the argument order of ln.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2328
Evan Broder [Sun, 3 May 2009 01:42:16 +0000 (21:42 -0400)]
In invirt-autoinstaller:
* Create xen-tools symlinks for installing Intrepid and Jaunty.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2327
Evan Broder [Sun, 3 May 2009 01:34:40 +0000 (21:34 -0400)]
Update the setup-grub hook in the autoinstaller to work with pv_ops
Ubuntu kernels.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2325
Greg Price [Thu, 19 Feb 2009 08:15:42 +0000 (03:15 -0500)]
fix symlinks in xen-tools/edgy.d
svn path=/trunk/packages/invirt-autoinstaller/; revision=2174
Greg Price [Thu, 19 Feb 2009 08:09:36 +0000 (03:09 -0500)]
renumber {36,96}-clear-root-password to go after install-base-system
svn path=/trunk/packages/invirt-autoinstaller/; revision=2172
Greg Price [Thu, 19 Feb 2009 08:09:24 +0000 (03:09 -0500)]
renumber our 9x-* xen-tools hooks to make some room
svn path=/trunk/packages/invirt-autoinstaller/; revision=2171
Greg Price [Thu, 19 Feb 2009 03:22:26 +0000 (22:22 -0500)]
unset root password in xen-create-image
Also don't bother in the installer image, because it doesn't help.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2169
Greg Price [Wed, 18 Feb 2009 07:40:14 +0000 (02:40 -0500)]
unset root password in -autoinstaller-guest
svn path=/trunk/packages/invirt-autoinstaller/; revision=2167
Greg Price [Wed, 18 Feb 2009 05:32:26 +0000 (00:32 -0500)]
autoinstaller: poke policy-rc.d while using aptitude so we don't try to start daemons
svn path=/trunk/packages/invirt-autoinstaller/; revision=2165
Anders Kaseorg [Tue, 17 Feb 2009 10:01:23 +0000 (05:01 -0500)]
Don't confuse {KB, MB, GB} with {KiB, MiB, GiB}.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2161
Evan Broder [Sun, 15 Feb 2009 08:54:24 +0000 (03:54 -0500)]
Need to pass -y to aptitude.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2128
Evan Broder [Sun, 15 Feb 2009 03:39:04 +0000 (22:39 -0500)]
Close the changelog entry.
I'm just made of all kinds of fail today.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2126
Evan Broder [Sun, 15 Feb 2009 03:38:09 +0000 (22:38 -0500)]
Things that are not the same: Conflicts. Depends.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2125
Evan Broder [Sun, 15 Feb 2009 03:34:32 +0000 (22:34 -0500)]
Use aptitude in invirt-update-ai-guest, and guarantee that it'll be
installed.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2123
Evan Broder [Sun, 15 Feb 2009 02:30:42 +0000 (21:30 -0500)]
Install a more complete base system on Debian by installing packages
of standard priority or higher.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2117
Evan Broder [Sun, 15 Feb 2009 02:30:40 +0000 (21:30 -0500)]
Serial consoles are supposed to run at 115200 baud, not 115300.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2116
Evan Broder [Sun, 1 Feb 2009 04:39:26 +0000 (23:39 -0500)]
xen-utils installs a Xen hypervisor. The autoinstaller guest doesn't
want one.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2076
Evan Broder [Sun, 1 Feb 2009 04:02:20 +0000 (23:02 -0500)]
The autoinstaller should install ubuntu-minimal and ubuntu-standard.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2073
Evan Broder [Tue, 27 Jan 2009 06:36:50 +0000 (01:36 -0500)]
Turn off transmission segmentation offloading instead of tx checksum
offloading
svn path=/trunk/packages/invirt-autoinstaller/; revision=2019
Evan Broder [Tue, 27 Jan 2009 06:36:49 +0000 (01:36 -0500)]
Add a script to automate updating the autoinstaller guest.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2018
Evan Broder [Mon, 26 Jan 2009 13:24:19 +0000 (08:24 -0500)]
Fix the sed invoke from r2006.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2007
Evan Broder [Mon, 26 Jan 2009 12:42:42 +0000 (07:42 -0500)]
Correct for the network checksumming problem in
/etc/network/interfaces instead of /etc/rc.local
This will cause the change to persist across downing and upping the
interface. It also takes advantage of the hook that xen-create-image
already puts in place, instead of creating our own.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2006
Greg Price [Thu, 1 Jan 2009 05:46:14 +0000 (00:46 -0500)]
config.todo: invirt-create-image: netmask, gateway
svn path=/trunk/packages/invirt-autoinstaller/; revision=1952
Evan Broder [Fri, 21 Nov 2008 03:46:46 +0000 (22:46 -0500)]
Install Debian and Ubuntu kernels without checking to see what the VM
is running
svn path=/trunk/packages/invirt-autoinstaller/; revision=1722
Evan Broder [Thu, 20 Nov 2008 01:05:15 +0000 (20:05 -0500)]
Install the right kernel on both Debian and Ubuntu - both 32 and 64 bit
svn path=/trunk/packages/invirt-autoinstaller/; revision=1719
Evan Broder [Fri, 14 Nov 2008 06:59:46 +0000 (01:59 -0500)]
Whoops - make the autoinstaller frob slightly more clever
svn path=/trunk/packages/invirt-autoinstaller/; revision=1640
Evan Broder [Fri, 14 Nov 2008 06:20:08 +0000 (01:20 -0500)]
Add a hook to invirt-autoinstaller to turn off checksumming in the guest
svn path=/trunk/packages/invirt-autoinstaller/; revision=1637
Evan Broder [Sat, 1 Nov 2008 08:47:57 +0000 (04:47 -0400)]
Punt DEB_AUTO_UPDATE_DEBIAN_CONTROL in invirt-autoinstaller
svn path=/trunk/packages/invirt-autoinstaller/; revision=1498
Evan Broder [Sat, 1 Nov 2008 08:47:45 +0000 (04:47 -0400)]
sipb-xen-autoinstaller -> invirt-autoinstaller
svn path=/trunk/packages/invirt-autoinstaller/; revision=1497
Evan Broder [Sat, 25 Oct 2008 22:23:22 +0000 (18:23 -0400)]
sipb-xen-dom0 -> invirt-xen-config in sipb-xen-autoinstaller
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=1270
Greg Price [Fri, 24 Oct 2008 08:57:02 +0000 (04:57 -0400)]
fix our copyright files
E.g., this is free software.
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=1205
Greg Price [Mon, 20 Oct 2008 01:28:10 +0000 (21:28 -0400)]
start udev in guest autoinstaller
also change 'noinstall' to 'noinstall=' because that's what remote passes
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=1148
Greg Price [Mon, 20 Oct 2008 00:15:07 +0000 (20:15 -0400)]
autoinstaller: hide misleading harmless dmsetup error message
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=1147
Evan Broder [Tue, 14 Oct 2008 23:25:56 +0000 (19:25 -0400)]
Run xen-create-image with --verbose so you get useful output
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=1124
Evan Broder [Tue, 14 Oct 2008 01:19:09 +0000 (21:19 -0400)]
Add the Anders invoke for dealing with kernel command line quoting in
sipb-xen-autoinstaller-guest
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=1105
Evan Broder [Tue, 7 Oct 2008 04:26:56 +0000 (00:26 -0400)]
Skip kpartx call when running autoinstaller on physical devices
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=1083
Evan Broder [Mon, 6 Oct 2008 23:03:24 +0000 (19:03 -0400)]
Update sipb-xen-autoinstaller-guest with dependencies for Hardy
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=1078
Greg Price [Mon, 29 Sep 2008 07:09:26 +0000 (03:09 -0400)]
remove DH_ALWAYS_EXCLUDE=.svn from rules files
The right solution is debuild -eDH_ALWAYS_EXCLUDE=.svn .
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=949
Greg Price [Mon, 29 Sep 2008 00:46:04 +0000 (20:46 -0400)]
fix spelling in xen config
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=940
Greg Price [Mon, 29 Sep 2008 00:45:34 +0000 (20:45 -0400)]
fix up xen config at end of sipb-xen-install
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=939
Greg Price [Mon, 29 Sep 2008 00:16:05 +0000 (20:16 -0400)]
sipb-xen-install deals with lvcreate, and some tweaks
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=938
Greg Price [Sun, 28 Sep 2008 23:34:10 +0000 (19:34 -0400)]
tweak autoinstall scripts
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=937
Greg Price [Sun, 28 Sep 2008 22:24:53 +0000 (18:24 -0400)]
exclude .svn in builds
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=933
Greg Price [Sun, 28 Sep 2008 21:22:00 +0000 (17:22 -0400)]
fold duplicate Conflicts: lines, to make newer debuild happy
Also remove a false Conflicts in -host, that I got by copy-pasting.
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=932
Greg Price [Sun, 28 Sep 2008 21:11:53 +0000 (17:11 -0400)]
first cut at on-host installer
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=931
Greg Price [Sun, 28 Sep 2008 20:40:06 +0000 (16:40 -0400)]
factor out common autoinstaller code for both guest and host
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=929
Greg Price [Sat, 2 Aug 2008 03:27:32 +0000 (23:27 -0400)]
todo lists for configuration
I looked through all the code for hardcoded details that should be moved
to configuration, and listed them in a file config.todo in each package
directory. These can be knocked off line-by-line as todo lists, and
removed when empty.
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=810
Greg Price [Mon, 28 Jul 2008 08:56:24 +0000 (04:56 -0400)]
remove obsolete file
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=764
Eric Price [Mon, 28 Jul 2008 08:35:34 +0000 (04:35 -0400)]
Make xen-tools scripts executable
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=763
Eric Price [Mon, 28 Jul 2008 07:20:22 +0000 (03:20 -0400)]
Change autoinstaller host to be only arguments to sipb-database
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=760
Eric Price [Mon, 28 Jul 2008 05:06:38 +0000 (01:06 -0400)]
And dch -i
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=758
Eric Price [Mon, 28 Jul 2008 05:06:14 +0000 (01:06 -0400)]
Work around bug #242576 in xen-tools by depending on lvm2.
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=757
Eric Price [Mon, 28 Jul 2008 05:02:43 +0000 (01:02 -0400)]
init's symlink must be relative.
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=756
Eric Price [Mon, 28 Jul 2008 04:37:34 +0000 (00:37 -0400)]
Correct location for busybox
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=755
Eric Price [Mon, 28 Jul 2008 04:29:16 +0000 (00:29 -0400)]
dch -i, of course.
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=753
Eric Price [Mon, 28 Jul 2008 04:28:25 +0000 (00:28 -0400)]
Divert /etc/init.d/rcS
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=752
Eric Price [Mon, 28 Jul 2008 04:03:04 +0000 (00:03 -0400)]
dch -i
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=750
Eric Price [Mon, 28 Jul 2008 04:01:10 +0000 (00:01 -0400)]
Add more dependencies.
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=749
Eric Price [Mon, 28 Jul 2008 03:50:12 +0000 (23:50 -0400)]
Rename package.
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=745
Eric Price [Mon, 28 Jul 2008 03:37:56 +0000 (23:37 -0400)]
More movement
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=744
Eric Price [Mon, 28 Jul 2008 03:37:32 +0000 (23:37 -0400)]
Throw out old old installer.
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=743
Eric Price [Mon, 28 Jul 2008 03:35:58 +0000 (23:35 -0400)]
New guest-based autoinstaller
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=741
Eric Price [Mon, 28 Jul 2008 01:33:10 +0000 (21:33 -0400)]
We're installing paravms, so don't spawn a separate serial console login
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=740
Eric Price [Mon, 28 Jul 2008 00:05:47 +0000 (20:05 -0400)]
Don't bother avoiding checksums.
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=732
Eric Price [Mon, 28 Jul 2008 00:05:35 +0000 (20:05 -0400)]
Use symlink instead.
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=731
Eric Price [Mon, 28 Jul 2008 00:05:00 +0000 (20:05 -0400)]
Remove copied 91-make-fstab
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=730
Greg Price [Wed, 23 Jul 2008 05:19:34 +0000 (01:19 -0400)]
fix control, control.in, and changelog in guest installer
This demonstrates why it's evil that we have to keep control and
control.in both in source control.
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=719
Evan Broder [Sun, 22 Jun 2008 22:25:29 +0000 (18:25 -0400)]
Hyphens in the LV name are replaced with double hyphens in /dev/mapper
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=642
Eric Price [Sun, 22 Jun 2008 13:32:08 +0000 (09:32 -0400)]
Getting towards the autoinstaller in domU.
Works with etch, almost works with Hardy but has network trouble.
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=641
Eric Price [Sun, 22 Jun 2008 05:28:55 +0000 (01:28 -0400)]
xen-create-image in dom0
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=635
Evan Broder [Sat, 31 May 2008 20:51:39 +0000 (16:51 -0400)]
Change sipb-xen-lvcopy so that it fails if you try to clone anything but ice3
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=542
Eric Price [Thu, 15 May 2008 22:47:31 +0000 (18:47 -0400)]
Increment version
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=529
Eric Price [Thu, 15 May 2008 22:45:15 +0000 (18:45 -0400)]
Work around bug in Python subprocess for remctl
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=528
Tao Ben Schardl [Tue, 13 May 2008 00:04:13 +0000 (20:04 -0400)]
More work on debootstrap-commands. Now can successfully create moo19 with execution.
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=527
Tao Ben Schardl [Sun, 4 May 2008 07:52:53 +0000 (03:52 -0400)]
xen-create-image frobbing for deboostrap-commands
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=496
Tao Ben Schardl [Sun, 4 May 2008 07:43:48 +0000 (03:43 -0400)]
Started modifying deboostrap-commands to use xen-create-image
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=495
Greg Price [Sun, 4 May 2008 00:53:31 +0000 (20:53 -0400)]
Eric's and my debootstrap work from the hackathon
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=494
Greg Price [Thu, 1 May 2008 05:28:04 +0000 (01:28 -0400)]
changelogs
Becoming a responsible debian-packaging developer
now that I've figured out and partially cleaned up
the mess that is sx-build-release.
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=485
Greg Price [Thu, 1 May 2008 05:08:14 +0000 (01:08 -0400)]
update sx-make-iso to black-mesa's version
The modtime on black-mesa of this new version is late October.
The script is overtaken by events anyway, but just keeping things clean.
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=484
Greg Price [Tue, 22 Apr 2008 20:15:57 +0000 (16:15 -0400)]
sipb-xen-losetup: a half-sane way to use losetup
You should use this instead of plain losetup; everything that uses this
will at least not have races with other things using this.
If it's missing a feature (e.g. a losetup argument) you want,
it shouldn't be hard to add.
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=449
Greg Price [Thu, 3 Apr 2008 06:22:54 +0000 (02:22 -0400)]
put the post-copy frobbing details in the image
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=405
Greg Price [Sun, 30 Mar 2008 08:48:19 +0000 (04:48 -0400)]
todo has moved to trac
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=343
Greg Price [Sun, 30 Mar 2008 08:02:48 +0000 (04:02 -0400)]
some cleanups in copying autoinstaller
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=338
Greg Price [Sun, 30 Mar 2008 06:49:43 +0000 (02:49 -0400)]
copying installer works now (maybe?)
At least for the image 'ice3', which IIRC was created with
/usr/sbin/sipb-xen-make-iso. It's an etch amd64 image.
It also had to have package nullmailer installed, replacing exim4.
svn path=/trunk/packages/sipb-xen-guest-installer/; revision=336
Greg Price [Tue, 13 Nov 2007 10:10:10 +0000 (05:10 -0500)]
Prototype fast installer using a special guest.
Rather than poke directly in the boot sector, partition table,
etc, which caused so much pain last week (r231), we just dd
the entire disk. Then we poke at the bits that need to change
(like secrets, the hostname, the root password, the filesystem uuids).
Since this poking is distribution-dependent, we want it to be
supplied by the image, so to make that safe we run it in a VM.
The plan is
1. source image is dd'd (in the host) to the target image
2. special copying-installer image is booted, with access to target
and to a small image containing its arguments
3. copying-installer guest reads arguments, mounts target,
runs a script with a well-known name in target, passing arguments.
Bits I haven't done yet include
- frob grub config in the copying-installer image so it boots
with init = the copying-installer script (doing this manually for testing)
- install script into copying-installer, or into my example image,
in a sane automated way (they're checked into partial/ here)
- all the tasks the image's script ought to actually carry out
- make this all available from remctl and the web pages.
svn path=/trunk/packages/sipb-xen-guest-installer/sipb-xen-guest-installer/; revision=245
Greg Price [Sun, 4 Nov 2007 05:41:11 +0000 (01:41 -0400)]
prototype fast installer.
To install a distribution on a new volume, we take an existing
installed volume produced with sipb-xen-make-iso, and
1. copy GRUB's data with dd
2. frob the partition table with sfdisk, if the disk size is different
3. make the filesystem
4. twiddle the hostname and root password and whatever else
5. make the swap area
6. boot!
In this prototype, steps 2 and 4 aren't implemented yet;
steps 1, 3, and 5 all use numbers that come from what the
sipb-xen-make-iso etch installer does rather than from
actually reading the partition table; and the whole thing
is just a program in /usr/sbin, not integrated into what
remctl / the web app invoke.
It all takes about thirty seconds (28.0s most recently),
excluding the boot.
svn path=/trunk/packages/sipb-xen-guest-installer/sipb-xen-guest-installer/; revision=231