Commit graph

27 commits

Author SHA1 Message Date
Rob Vermaas
6d6e8c3a56 Use same configuration for S3 as for EBS backed images. 2013-06-05 18:11:19 +02:00
Eelco Dolstra
5eb6e7a21e Doh 2013-01-25 17:12:38 +01:00
Eelco Dolstra
e732b84dd5 Auto-create a keypair during EBS AMI creation 2013-01-25 17:11:49 +01:00
Eelco Dolstra
f7d6e2940c Wait a bit longer after EBS AMI registration 2013-01-24 19:38:42 +01:00
Eelco Dolstra
3e4f053eb5 Update the S3 AMI generation script 2013-01-24 19:38:42 +01:00
Eelco Dolstra
f3ec305c25 Update the EBS creation script 2013-01-24 18:11:17 +01:00
Shea Levy
3ef1432866 Update create-s3-amis and amazon-image.nix to recent nixos 2012-12-18 13:44:47 -05:00
Shea Levy
dc7a5e99d5 create-ebs-amis.py: Fix for latest charon 2012-12-16 20:12:39 -05:00
Shea Levy
90e825481d Update create-ebs-amis.py to recent charon 2012-12-15 14:25:25 -05:00
Eelco Dolstra
08e6c0cb7c Update channel URLs 2012-11-12 09:19:25 +01:00
Shea Levy
e27ee81304 create-ebs-amis.py: Load the deployment state file.
charon now requires either using a Deployment in a with statement or manually loading the state file
2012-07-27 13:29:14 -04:00
Eelco Dolstra
28cc602751 * EBS creator: use the NixOS channel.
svn path=/nixos/trunk/; revision=34119
2012-05-15 20:42:13 +00:00
Rob Vermaas
be31aebdcf * Added option for EC2 keypair.
* Added workaround for evaluation
* Add support for cluster instances ami generation, only works in us-east-1 
  for now.

    e.g. ./create-ebs-ami.py --region us-east --hvm --key rob
  
  Cluster instances need to have a 8GB EBS backed image with 1 partition 
  and with grub installed. Also HVM images can (currently) only be generated 
  using the CreateImage API call, which requires a running or stopped 
  instance. 



svn path=/nixos/trunk/; revision=33827
2012-04-18 12:36:20 +00:00
Eelco Dolstra
bcc24c1b86 * Finish the EBS creation script. It now takes a --region option to
specify the EC2 region in which the AMI is to be created.  It also
  starts an instance booted from the newly created AMI to test it.

svn path=/nixos/trunk/; revision=33771
2012-04-13 11:26:22 +00:00
Eelco Dolstra
d82a7d328d * Script for creating NixOS EBS-based AMIs.
svn path=/nixos/trunk/; revision=33765
2012-04-12 17:15:55 +00:00
Eelco Dolstra
e32640afab * Don't build 32-bit AMIs anymore, since 64-bit AMIs are now supported
on all instance types.
* Bump the pv-grub AKI.

svn path=/nixos/trunk/; revision=33385
2012-03-23 18:09:40 +00:00
Eelco Dolstra
d4f3443d33 * Remove obsolete script.
svn path=/nixos/trunk/; revision=32738
2012-03-02 12:36:07 +00:00
Eelco Dolstra
6ec21aa3ca * Urgh. Stupid S3 location names.
svn path=/nixos/trunk/; revision=30346
2011-11-08 20:56:33 +00:00
Eelco Dolstra
25d7ed1283 * Upload and register the image to/in eu-west-1, us-east-1 and
us-west-1.

svn path=/nixos/trunk/; revision=30345
2011-11-08 20:49:21 +00:00
Eelco Dolstra
1ac56c233e * Handle x86_64.
svn path=/nixos/trunk/; revision=30220
2011-11-04 03:50:17 +00:00
Eelco Dolstra
7198c27897 * Bug fix.
svn path=/nixos/trunk/; revision=30219
2011-11-04 02:30:59 +00:00
Eelco Dolstra
1f9bb7706a * Script for building, uploading and registering NixOS AMIs in all EC2
regions (not finished yet).

svn path=/nixos/trunk/; revision=30218
2011-11-04 01:31:18 +00:00
Nicolas Pierron
6cee6e9d87 Replace special rule by a module-list.mask file which enumerates all
patterns matching the files which should not figure in module-list.nix.

svn path=/nixos/branches/modular-nixos/; revision=15941
2009-06-11 17:59:47 +00:00
Eelco Dolstra
2c34a4b8c0 * Oops.
svn path=/nixos/branches/modular-nixos/; revision=15756
2009-05-27 23:45:31 +00:00
Eelco Dolstra
3c6ae39a0d * Refactoring: moved some options out of system/options.nix (almost
empty now), do more of bashrc.sh declaratively, and moved nsswitch
  generation to modules/config/nsswitch.nix.

svn path=/nixos/branches/modular-nixos/; revision=15754
2009-05-27 23:14:38 +00:00
Eelco Dolstra
0109b7e44f * Sort the module list; otherwise the output will be sensitive to the
order in which files are stored in the file system of whoever runs the
  script (and will therefore fluctuate a lot).

svn path=/nixos/branches/modular-nixos/; revision=15753
2009-05-27 23:12:54 +00:00
Nicolas Pierron
b022f2e95a Generate the module-list.nix which index all valid modules.
Non-valid modules are commented inside the generated list.

Move module paths which are not the module directory into the legacy.nix file.

svn path=/nixos/branches/modular-nixos/; revision=15751
2009-05-27 20:27:54 +00:00