examples: improve shell session usability

- Add usage prompt when starting shell sessions

- Give all examples an uniform interface ("c") for running commands
  or starting a shell on the node.
This commit is contained in:
Erik Arvstedt
2020-05-17 23:53:32 +02:00
parent 719dcd77bb
commit 0f1ee5f533
3 changed files with 19 additions and 3 deletions
+1
View File
@@ -38,6 +38,7 @@ nixops deploy -d bitcoin-node
# Connect to node
nixops ssh bitcoin-node systemctl status bitcoind
c() { nixops ssh bitcoin-node "$@"; }
# Uncomment to start a shell session here
# . start-bash-session.sh