Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/maintainers/scripts/ec2/ebs-creator.nix

14 lines
354 B
Nix
Raw Normal View History

* Script for creating NixOS EBS-based AMIs. svn path=/nixos/trunk/; revision=33765
2012-04-12 17:15:55 +00:00
{
network.description = "NixOS EBS creator";
machine =
{ config, pkgs, ... }:
{ deployment.targetEnv = "ec2";
deployment.ec2.instanceType = "m1.small";
deployment.ec2.keyPair = "eelco";
deployment.ec2.securityGroups = [ "eelco-test" ];
* 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
environment.systemPackages = [ pkgs.parted ];
fileSystems = [];
* Script for creating NixOS EBS-based AMIs. svn path=/nixos/trunk/; revision=33765
2012-04-12 17:15:55 +00:00
};
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 47ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API