From bceec32b6609c12dafc918d904e0d4d1e3070aa0 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Sun, 25 Dec 2022 13:02:22 -0500 Subject: [PATCH] Add bitcoin/lighting aliases to lxc profile stub --- deployment/stub_lxc_profile.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployment/stub_lxc_profile.sh b/deployment/stub_lxc_profile.sh index b37bdd0..1cfaa6d 100755 --- a/deployment/stub_lxc_profile.sh +++ b/deployment/stub_lxc_profile.sh @@ -175,6 +175,8 @@ if [ "$LXD_HOSTNAME" = "sovereign-stack" ]; then - sudo apt-get update - sudo apt-get install -y docker-ce docker-ce-cli containerd.io - echo "alias ll='ls -lah'" >> /home/ubuntu/.bash_profile + - echo "alias bitcoin-cli='bitcoin-cli.sh \$@'" >> /home/ubuntu/.bash_profile + - echo "alias lightning-cli='bitcoin-lightning-cli.sh \$@'" >> /home/ubuntu/.bash_profile - sudo curl -s -L "https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose - sudo chmod +x /usr/local/bin/docker-compose - sudo apt-get install -y openssh-server