Commit Graph

21 Commits

Author SHA1 Message Date
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
29d84af677 * Remove the use of the NIXPKGS and NIXOS environment variables.
Instead use $NIX_PATH.  NIXOS_CONFIG is still supported.

svn path=/nixos/trunk/; revision=32739
2012-03-02 12:38:22 +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
Peter Simons
eb6e1310b8 strip trailing whitespace; no functional change
svn path=/nixos/trunk/; revision=29285
2011-09-14 18:20:50 +00:00
Nicolas Pierron
2dce393e6e Clean-up option-usages.nix by using recent library functions.
svn path=/nixos/trunk/; revision=17516
2009-09-29 16:42:22 +00:00
Nicolas Pierron
bd41c01bfe Add a nix expression which generate a graph inside a pdf to display option
usages.

svn path=/nixos/trunk/; revision=17483
2009-09-28 18:26:07 +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