Created
August 28, 2019 13:04
-
-
Save glennswest/bde5a346bf3bb88c7803f8b447ab89de to your computer and use it in GitHub Desktop.
Example esxi deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rm -r -f tiny | |
| mkdir tiny | |
| cp install-config.yaml tiny | |
| openshift-install create ignition-configs --dir=tiny | |
| rm -f ~/worker.ign | |
| cp ~/k.lo/tiny/worker.ign ~ | |
| rm ~/.kube/config | |
| cp /root/k.lo/tiny/auth/kubeconfig ~/.kube/config | |
| rm -r -f /data/svcrhcos.${SVCDOMAIN}/tiny | |
| cp -r tiny /data/svcrhcos.${SVCDOMAIN} | |
| rm -f /etc/dnsmasq.d/tiny.hosts | |
| cp dnsmasq.d/tiny-preboot.hosts /etc/dnsmasq.d/tiny.hosts | |
| systemctl restart dnsmasq | |
| systemctl status dnsmasq | |
| sleep 10 | |
| ./poweroff-all-vms.sh | |
| sleep 5 | |
| ./erase-all-vms.sh | |
| sleep 10 | |
| ./poweron-all-vms.sh | |
| openshift-install --dir=tiny wait-for bootstrap-complete --log-level debug | |
| rm -f /etc/dnsmasq.d/tiny.hosts | |
| cp dnsmasq.d/tiny-postboot.hosts /etc/dnsmasq.d/tiny.hosts | |
| systemctl restart dnsmasq | |
| systemctl status dnsmasq | |
| openshift-install --dir=tiny wait-for install-complete --log-level debug | |
| oc patch configs.imageregistry.operator.openshift.io cluster --type merge --patch '{"spec":{"storage":{"emptyDir":{}}}}' | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note two things:
Both of these are needed to match the current winoperater install