summaryrefslogtreecommitdiffstats
path: root/nixos/modules/virtualisation/amazon-init.nix
AgeCommit message (Collapse)Author
2020-01-23nixos/amazon-init.nix: Add gzip to amazon-init pathChristian Höppner
2020-01-23nixos/amazon-init.nix: Add gnutar to amazon-init PATHChristian Höppner
2020-01-23nixos/amazon-init.nix: add git to amazon-init script PATHChristian Höppner
2019-12-28virtualization/amazon-init: fix logging, nix pathChristian Höppner
The missing `\n` in the printf format string prevented multiple channels from being logged. The missing `nixpkgs=` in the `NIX_PATH` prevented `nixos-rebuild` from working if the system configuration has any reference to `nixpkgs`. Additionally: * Use process substitution instead of piping printf to avoid creating a subshell. * Set an empty `IFS` to avoid word splitting. * Add the `-r` flag to `read` to avoid mangling backslashes.
2018-03-01nixos: Move uses of stdenv.shell to runtimeShell.Shea Levy
2017-02-27amazon-init.service: fix starting services at startupDan Peebles
We now make it happen later in the boot process so that multi-user has already activated, so as to not run afoul of the logic in switch-to-configuration.pl. It's not my favorite solution, but at least it works. Also added a check to the VM test to catch the failure so we don't break in future. Fixes #23121
2017-02-16amazon-init NixOS module: fix (I think) race condition with networkDan Peebles
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!
2016-04-25amazon-init.nix: Use makeBinPathTuomas Tynkkynen
This also fixes the incorrect use of 'dev' outputs from config.nix.package and pkgs.systemd.
2016-02-04Fetch all EC2 metadata / user data in the initrdEelco Dolstra
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-04amazon-init.nix: Be less spammyEelco Dolstra
2016-02-04amazon-init.nix: Don't run nixos-rebuild if we don't have toEelco Dolstra
2015-12-30amazon-image: enable configure-from-userdata and the corresponding VM testDan Peebles
2015-06-30Remove option ec2.metadataEelco Dolstra
2015-06-13Use the right nix when doing things in our amazoninitDan Peebles
2015-06-11Initial attempt at configuring from EC2 userdata (with input from cstrahan). ↵Dan Peebles
Now with VM tests!