Eelco Dolstra
d550cc6d63
* Grmbl. Create the missing mount points.
...
svn path=/nixos/trunk/; revision=23592
2010-09-01 11:00:35 +00:00
Eelco Dolstra
68ebbb6093
* Put /nix on /ephemeral0 using AUFS (with the original /nix from the
...
AMI as a base) because the root filesystem is rather small.
svn path=/nixos/trunk/; revision=23534
2010-08-29 22:29:10 +00:00
Eelco Dolstra
34719e0c4a
* On second thought, panicking in stage 1 doesn't help because it
...
won't actually cause the instance to be terminated (even if
"panic=1" were to be set), merely rebooted.
svn path=/nixos/trunk/; revision=23533
2010-08-29 22:11:33 +00:00
Eelco Dolstra
a242602b40
* /data -> /ephemeral0.
...
* Put /tmp and /var on the /ephemeral0, as it has much more
space than the root filesystem.
* Panic on stage 1 errors since they cannot be repaired anyway.
svn path=/nixos/trunk/; revision=23532
2010-08-29 22:09:15 +00:00
Eelco Dolstra
4963f769d9
* Print the host public key on the console so that the user can obtain
...
it securely by parsing the output of ec2-get-console-output.
svn path=/nixos/trunk/; revision=23524
2010-08-29 21:03:22 +00:00
Eelco Dolstra
4bca743766
* Typo.
...
svn path=/nixos/trunk/; revision=23485
2010-08-27 15:31:04 +00:00
Eelco Dolstra
d659488209
* Use the regular GRUB menu builder for Amazon. There are two issues:
...
we want to generate the GRUB menu without actually installing GRUB
(because Amazon supplies its own pv-grub), and each menu entry
requires "root (hd0)". For the first, allow boot.loader.grub.device
to be set to "nodev" to indicate that the GRUB menu should be
generated without installing GRUB. For the second, add an option
boot.loader.grub.extraPerEntryConfig to allow commands to be added
to each GRUB menu entry (in this case, "root (hd0)").
svn path=/nixos/trunk/; revision=22712
2010-07-22 14:40:29 +00:00
Eelco Dolstra
d7f638da0c
* Amazon now supports booting a custom kernel in the AMI using
...
pv-grub, so supply a GRUB menu that starts our own kernel and
initrd.
svn path=/nixos/trunk/; revision=22678
2010-07-20 13:53:14 +00:00
Eelco Dolstra
b614179eed
* Install a configuration.nix in the AMI.
...
svn path=/nixos/trunk/; revision=22607
2010-07-15 11:09:30 +00:00
Eelco Dolstra
4b018d1294
svn path=/nixos/trunk/; revision=22587
2010-07-13 20:47:31 +00:00
Ludovic Courtès
8e16742b79
Update users of `services.sshd'.
...
svn path=/nixos/trunk/; revision=20575
2010-03-11 17:02:53 +00:00
Eelco Dolstra
32995b3d36
* Make the AMI disk a bit bigger. Thanks to sparse images and
...
compression this shouldn't be expensive.
svn path=/nixos/trunk/; revision=19647
2010-01-25 10:40:08 +00:00
Eelco Dolstra
cb728f833f
svn path=/nixos/trunk/; revision=19624
2010-01-22 21:07:06 +00:00
Eelco Dolstra
9094ecb546
* Some hacks to get the image to work with newer EC2 kernels/initrds.
...
svn path=/nixos/trunk/; revision=19622
2010-01-22 20:22:40 +00:00
Eelco Dolstra
12a0a68749
* Initialise the Nix database in the VM.
...
* Set the hostname at startup.
* Mount the ephemeral data disk (/dev/sda2).
svn path=/nixos/trunk/; revision=19619
2010-01-22 17:31:23 +00:00
Eelco Dolstra
3e3448a7df
* Added an Upstart job to fetch the SSH key for logging into the root
...
account of the VM. However, it doesn't work yet (the machine
doesn't boot properly and there is no console output). So use a
hard-coded password for now (very dangerous!).
svn path=/nixos/trunk/; revision=19589
2010-01-21 08:03:58 +00:00
Eelco Dolstra
590acc193c
* A module for generating a disk image suitable for use with Amazon's
...
Elastic Compute Cloud (EC2). TODO: run ec2-bundle-image here.
svn path=/nixos/trunk/; revision=19580
2010-01-20 18:10:02 +00:00