diff options
Diffstat (limited to 'deploy_a_system.sh')
-rwxr-xr-x | deploy_a_system.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/deploy_a_system.sh b/deploy_a_system.sh index 5cd2728..e28da5a 100755 --- a/deploy_a_system.sh +++ b/deploy_a_system.sh @@ -11,12 +11,11 @@ ybd_dir=/home/patrickdarley/ybd # Can only deploy with a single instance of ybd. Crashes # with >1 -sed -i '/^instances: /c\instances: 1' /home/patrickdarley/ybd/config/ybd.conf +sudo sed -i '/^instances: /c\instances: 1' /home/patrickdarley/ybd/config/ybd.conf # Make sure the btrfs module is loaded else all deploys shall be in vain sudo modprobe btrfs - # try changing to the definitions dir then building # ybd seems to set the "target" to be current dir, regardless # Of it being definitions or not @@ -24,3 +23,8 @@ sudo modprobe btrfs cd "$definitions_dir" sudo "$ybd_dir"/ybd.py clusters/"$cluster_name" + + +# Err, should probably just change he deploy script but that is tlsa's +# not mine. So will do this for now. Also assumed we wanted + |