summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-04-08 01:07:01 +0200
committertv <tv@krebsco.de>2015-05-19 23:16:56 +0200
commit305994b23565b3e0f73922ca219cbcb9872e4daa (patch)
tree14dd49072264f70f32d826fadc3489a7b101b62c /deploy
parentee0c09d16f1e857a9f37118babc5c2a061fa9cf1 (diff)
I Like To Move It
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy b/deploy
index d435ec8..03a2001 100755
--- a/deploy
+++ b/deploy
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# usage: ./deploy CONFIG [[USER@]HOST]
+# usage: ./deploy HOST [[USER@]HOST]
#
set -euf
@@ -9,7 +9,7 @@ set -euf
user=root
host=$1
-config=./$host.nix
+config=./modules/$host/default.nix
target=${2-$user@$host}
verbose deploy "$config" "$target"