From: Ismaƫl Bouya Date: Fri, 20 Dec 2019 00:52:38 +0000 (+0100) Subject: Add backup-2 alias for ssh X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=commitdiff_plain;h=ddaa9caff97e801c9299ec9d952c547313e942f0 Add backup-2 alias for ssh --- diff --git a/Makefile b/Makefile index 26dd47e..6a039bd 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ subrecipes = setup -subrecipes += nixops ssh-eldiron info debug dry-run build upload deploy deploy-reboot reboot +subrecipes += nixops ssh-eldiron ssh-backup-2 info debug dry-run build upload deploy deploy-reboot reboot subrecipes += list-generations delete-generations cleanup subrecipes += pull pull_environment pull_deployment deployment_is_set push push_deployment push_environment ${subrecipes}: diff --git a/nixops/Makefile b/nixops/Makefile index edbe7c7..fb55029 100644 --- a/nixops/Makefile +++ b/nixops/Makefile @@ -33,6 +33,9 @@ SSH_ARGS ?= ssh-eldiron: $(NIXOPS_PRIV) ssh eldiron -- $(SSH_ARGS) +ssh-backup-2: + $(NIXOPS_PRIV) ssh backup-2 -- $(SSH_ARGS) + info: $(NIXOPS_PRIV) list $(NIXOPS_PRIV) info