commit c191ce8d07f09a47d560a082df74e68354b4a10a parent c90f30ce713b8f69146ec94ac980f851f61954b8 Author: Vincent Demeester <vincent@sbr.pm> Date: Thu, 6 Aug 2020 12:16:42 +0200 pkgs: chos4 no default install Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | pkgs/scripts/bin/chos4 | | | 5 | +++++ |
M | pkgs/scripts/bin/op-inst | | | 5 | ----- |
M | users/vincent/containers/chos4.desktop | | | 2 | +- |
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/pkgs/scripts/bin/chos4 b/pkgs/scripts/bin/chos4 @@ -17,6 +17,11 @@ done export KUBECONFIG=~/.kube/config.os4 oc login -u kubeadmin -p $(cat ~/.kube/kubeadmin.password.os4) +echo ">>> scale machineset to 2" +for machineset in $(oc get machineset -n openshift-machine-api -o name); do + oc scale --replicas=2 ${machineset} -n openshift-machine-api +done + if [[ "$1" == "install" ]]; then op-inst fi diff --git a/pkgs/scripts/bin/op-inst b/pkgs/scripts/bin/op-inst @@ -3,11 +3,6 @@ set -e -echo ">>> scale machineset to 2" -for machineset in $(oc get machineset -n openshift-machine-api -o name); do - oc scale --replicas=2 ${machineset} -n openshift-machine-api -done - echo ">>> install tekton in the cluster" # This is needed when we want to test a non-released version # cat <<EOF | oc apply -f- diff --git a/users/vincent/containers/chos4.desktop b/users/vincent/containers/chos4.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=chos4 -Exec=chos4 install +Exec=chos4 Type=Application Terminal=true Categories=System;