diff options
author | lassulus <lass@aidsballs.de> | 2015-06-14 19:37:30 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-06-14 19:37:30 +0200 |
commit | 1d4ffccdbad2dd614fc3156cf27e68f4c0e5747c (patch) | |
tree | 47af604a4dccefbecfcb7592cfba1c348aa3b60e /deploy | |
parent | d8b6858e748a67e53ca7f650c1473a9c5d88b594 (diff) |
Revert "deploy: take optional target argument"
This reverts commit 4846a8e4a8d7c9aeedafa626104a32afaf8d2ab0.
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,9 +1,11 @@ #! /bin/sh # -# usage: ./deploy HOST [TARGET] +# usage: ./deploy HOST # set -euf +host=$1 + export PATH="$PWD/bin:$PATH" #export nixpkgs=/var/nixpkgs export nixpkgs_root=$PWD/tmp/nixpkgs @@ -11,4 +13,4 @@ export config_root=$PWD export retiolum_hosts=$PWD/hosts export secrets_root=$PWD/secrets -exec nixos-deploy "$@" +exec nixos-deploy "$host" |