Dan Peebles
b172684c17
amazon-init NixOS module: fix (I think) race condition with network
...
The initialization code is now a systemd service that explicitly
waits for network-online, so the occasional failure I was seeing
because the `nixos-rebuild` couldn't get anything from the binary
cache should stop. I hope!
2017-02-16 16:03:58 +00:00
Tuomas Tynkkynen
bee04a37ad
amazon-init.nix: Use makeBinPath
...
This also fixes the incorrect use of 'dev' outputs from
config.nix.package and pkgs.systemd.
2016-04-25 16:44:37 +02:00
Eelco Dolstra
2701665904
Fetch all EC2 metadata / user data in the initrd
...
Since we're already fetching one datum, we may as well fetch the
others needed by fetch-ec2-data. This also eliminates the dependency
on wget.
2016-02-04 15:45:54 +01:00
Eelco Dolstra
5c72b20dde
amazon-init.nix: Be less spammy
2016-02-04 15:45:54 +01:00
Eelco Dolstra
95584666e9
amazon-init.nix: Don't run nixos-rebuild if we don't have to
2016-02-04 15:45:54 +01:00
Dan Peebles
cd7612b841
amazon-image: enable configure-from-userdata and the corresponding VM test
2015-12-30 04:59:52 +00:00
Eelco Dolstra
96b325b0b7
Remove option ec2.metadata
2015-06-30 17:25:56 +02:00
Dan Peebles
ebde5fd9d4
Use the right nix when doing things in our amazoninit
2015-06-13 21:26:50 -04:00
Dan Peebles
4b758e374e
Initial attempt at configuring from EC2 userdata (with input from cstrahan). Now with VM tests!
2015-06-11 23:16:35 -04:00