From ade3f84317efd8b5adfe97b0841f2a4da86154a5 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Wed, 15 Apr 2020 18:54:02 +0200 Subject: [PATCH] examples: add shell session snippets --- examples/deploy-container.sh | 3 +++ examples/deploy-nixops.sh | 3 +++ examples/deploy-qemu-vm.sh | 3 +++ 3 files changed, 9 insertions(+) diff --git a/examples/deploy-container.sh b/examples/deploy-container.sh index 48d76ab..5912ba5 100755 --- a/examples/deploy-container.sh +++ b/examples/deploy-container.sh @@ -80,4 +80,7 @@ echo echo "Bitcoind data dir:" sudo ls -al /var/lib/containers/demo-node/var/lib/bitcoind +# Uncomment to start a shell session here +# export -f c; bash -li + # Cleanup happens at exit (see above) diff --git a/examples/deploy-nixops.sh b/examples/deploy-nixops.sh index a50aba2..b204aa9 100755 --- a/examples/deploy-nixops.sh +++ b/examples/deploy-nixops.sh @@ -38,4 +38,7 @@ nixops deploy -d bitcoin-node # Connect to node nixops ssh bitcoin-node systemctl status bitcoind +# Uncomment to start a shell session here +# bash -li + # Cleanup happens at exit (see above) diff --git a/examples/deploy-qemu-vm.sh b/examples/deploy-qemu-vm.sh index 9267c7b..a87547c 100755 --- a/examples/deploy-qemu-vm.sh +++ b/examples/deploy-qemu-vm.sh @@ -90,4 +90,7 @@ echo echo "Node info:" c nodeinfo +# Uncomment to start a shell session here +# export -f c; bash -li + # Cleanup happens at exit (see above)