From 6aa25893eef26ed3dc4101374f5d8112ab406eb9 Mon Sep 17 00:00:00 2001 From: Patrick Darley Date: Wed, 16 Sep 2015 10:22:48 +0000 Subject: Update config file location and genericify things --- deploy_a_system.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'deploy_a_system.sh') diff --git a/deploy_a_system.sh b/deploy_a_system.sh index 5d3eb6c..04d25ee 100755 --- a/deploy_a_system.sh +++ b/deploy_a_system.sh @@ -5,13 +5,12 @@ set -ex cluster_name="$1" -archive=/archive/ definitions_dir=definitions ybd_dir=/home/patrickdarley/ybd # Can only deploy with a single instance of ybd. Crashes # with >1 -sudo sed -i '/^instances: /c\instances: 1' /home/patrickdarley/ybd/config/ybd.conf +sudo sed -i '/^instances: /c\instances: 1' "$ybd_dir"/ybd.conf # Make sure the btrfs module is loaded else all deploys shall be in vain sudo modprobe btrfs -- cgit v1.2.1