diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-20 01:52:38 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-20 04:12:30 +0100 |
commit | ddaa9caff97e801c9299ec9d952c547313e942f0 (patch) | |
tree | 4871572809810152b5a73dc5f32fdec5065c1c6b | |
parent | 791d00e6d4cc94080998c7516ff7b262369c6cfc (diff) | |
download | Nix-ddaa9caff97e801c9299ec9d952c547313e942f0.tar.gz Nix-ddaa9caff97e801c9299ec9d952c547313e942f0.tar.zst Nix-ddaa9caff97e801c9299ec9d952c547313e942f0.zip |
Add backup-2 alias for ssh
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | nixops/Makefile | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | subrecipes = setup | 1 | subrecipes = setup |
2 | subrecipes += nixops ssh-eldiron info debug dry-run build upload deploy deploy-reboot reboot | 2 | subrecipes += nixops ssh-eldiron ssh-backup-2 info debug dry-run build upload deploy deploy-reboot reboot |
3 | subrecipes += list-generations delete-generations cleanup | 3 | subrecipes += list-generations delete-generations cleanup |
4 | subrecipes += pull pull_environment pull_deployment deployment_is_set push push_deployment push_environment | 4 | subrecipes += pull pull_environment pull_deployment deployment_is_set push push_deployment push_environment |
5 | ${subrecipes}: | 5 | ${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 ?= | |||
33 | ssh-eldiron: | 33 | ssh-eldiron: |
34 | $(NIXOPS_PRIV) ssh eldiron -- $(SSH_ARGS) | 34 | $(NIXOPS_PRIV) ssh eldiron -- $(SSH_ARGS) |
35 | 35 | ||
36 | ssh-backup-2: | ||
37 | $(NIXOPS_PRIV) ssh backup-2 -- $(SSH_ARGS) | ||
38 | |||
36 | info: | 39 | info: |
37 | $(NIXOPS_PRIV) list | 40 | $(NIXOPS_PRIV) list |
38 | $(NIXOPS_PRIV) info | 41 | $(NIXOPS_PRIV) info |