diff options
author | tv <tv@shackspace.de> | 2015-04-07 22:18:11 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-05-19 23:15:56 +0200 |
commit | 6e70d8fc47f0725a63dc92c1c43d2b1831c7c4ef (patch) | |
tree | 98207076bb84973f8fe9cfb83bdac81d08388e0e /deploy | |
parent | d65277c9a3df97be8af39fb370e1c560e61011e1 (diff) |
run -> {deploy,lib/prelude.sh}
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#! /bin/sh +# +# usage: ./deploy CONFIG [[USER@]HOST] +# +set -euf + +. ./lib/prelude.sh + +user=root +host=$1 + +config=./$host.nix +target=${2-$user@$host} + +verbose deploy "$config" "$target" |