Use same configuration for S3 as for EBS backed images.

This commit is contained in:
Rob Vermaas 2013-06-05 18:11:19 +02:00
parent 365307ada1
commit 6d6e8c3a56

View file

@ -1,7 +1,7 @@
#! /bin/sh -e
nixos=$(nix-instantiate --find-file nixos)
export NIXOS_CONFIG=$nixos/modules/virtualisation/amazon-config.nix
export NIXOS_CONFIG=$(dirname $(readlink -f $0))/amazon-base-config.nix
version=$(nix-instantiate --eval-only '<nixos>' -A config.system.nixosVersion | sed s/'"'//g)
echo "NixOS version is $version"