installrc 889 B

12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. export OCP_BASE_DOMAIN="ttb.testing"
  3. export OCP_CLUSTER_ID=$(uuidgen --random)
  4. export OCP_MASTERS=1
  5. export OCP_WORKERS=1
  6. export OCP_CLUSTER_NAME="byo-dev"
  7. export OCP_PULL_SECRET=$(cat ~/try.openshift.com.json)
  8. export OCP_SSH_PUB_KEY=$(cat ~/.ssh/id_rsa.pub)
  9. export OCP_NETDEV=ttb0
  10. export OCP_NETCIDR="192.168.128.0/24"
  11. # OCP_MASTERS is a list of quoted ips, no trailing comma. eg:
  12. # "\"192.168.128.11\", \"192.168.128.12\""
  13. export OCP_MASTER_IPS=\"192.168.128.11\"
  14. export OCP_BOOTSTRAP_IP="192.168.128.10"
  15. export OCP_WORKER_IPS=\"192.168.128.21\"
  16. export OCP_LIBVIRT_URI='qemu+tcp://192.168.124.1/system'
  17. export OCP_INSTALL_CONFIG_PATH="$PWD/install-config-ansible.yml"
  18. export OCP_IGNITION_PATH="$PWD/bootstrap.ign"
  19. export ANSIBLE_HOST_KEY_CHECKING=False
  20. # RHEL specific stuff
  21. export OCP_IMAGE=~/images/rhel-guest-image-7.5-146.x86_64.qcow2
  22. export OCP_SSH_USER="cloud-user"