Commit c191ce8d07f0

Vincent Demeester <vincent@sbr.pm>
2020-08-06 12:16:42
pkgs: chos4 no default install
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent c90f30c
Changed files (3)
pkgs
scripts
users
vincent
containers
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
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-
users/vincent/containers/chos4.desktop
@@ -1,6 +1,6 @@
 [Desktop Entry]
 Name=chos4
-Exec=chos4 install
+Exec=chos4
 Type=Application
 Terminal=true
 Categories=System;