File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
etc/kayobe/environments/ci-aio Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ BASE_PATH=~
66KAYOBE_BRANCH=stackhpc/2023.1
77KAYOBE_CONFIG_BRANCH=stackhpc/2023.1
88KAYOBE_AIO_LVM=true
9+ KAYOBE_CONFIG_EDIT_PAUSE=false
910
1011if [[ ! -f $BASE_PATH /vault-pw ]]; then
1112 echo " Vault password file not found at $BASE_PATH /vault-pw"
@@ -40,6 +41,12 @@ pushd src
4041[[ -d kayobe-config ]] || git clone https://github.com/stackhpc/stackhpc-kayobe-config kayobe-config -b $KAYOBE_CONFIG_BRANCH
4142popd
4243
44+ if $KAYOBE_CONFIG_EDIT_PAUSE ; then
45+ echo " Deployment is paused, edit configuration in another terminal"
46+ echo " Press enter to continue"
47+ read -s
48+ fi
49+
4350if ! sudo vgdisplay | grep -q lvm2; then
4451 rm $BASE_PATH /src/kayobe-config/etc/kayobe/environments/ci-aio/inventory/group_vars/controllers/lvm.yml
4552 sed -i -e ' /controller_lvm_groups/,+2d' $BASE_PATH /src/kayobe-config/etc/kayobe/environments/ci-aio/controllers.yml
You can’t perform that action at this time.
0 commit comments