From 2bc5c58d85990e483af8fde57ed5f2442351b69c Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 11 Jul 2015 19:44:12 +0200 Subject: move old stuff --- old/deploy | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 old/deploy (limited to 'old/deploy') diff --git a/old/deploy b/old/deploy new file mode 100755 index 000000000..a9dbf45e0 --- /dev/null +++ b/old/deploy @@ -0,0 +1,15 @@ +#! /bin/sh +# +# usage: ./deploy system_name [target] +# +set -euf + +system_name=$1 +target=${2-root@$system_name} + +nix-instantiate \ + --argstr system-name "$system_name" \ + --argstr deploy-target "$target" \ + --eval --json . \ + | jq -r . \ + | sh -- cgit v1.2.3