Commit 9dd72f9b110d
Changed files (3)
assets
assets/chos4.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=chos4
-Exec=chos4
+Exec=chos4 install
Type=Application
Terminal=true
Categories=System;
pkgs/scripts/bin/chos4
@@ -17,9 +17,9 @@ 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
+echo ">>> your cluster is ready :)"
read
pkgs/scripts/bin/op-inst
@@ -38,6 +38,3 @@ spec:
source: community-operators
sourceNamespace: openshift-marketplace
EOF
-
-echo ">>> your cluster is ready :)"
-read