Michael Gugino 4a8c5cea83 Change byo network and add CentOS support 6 năm trước cách đây
..
group_vars c23be0649e update gitignore 6 năm trước cách đây
playbooks 07a17b390c WIP: libvirt testing work 6 năm trước cách đây
terraform 6aa57495bb support worker node scaleup 6 năm trước cách đây
README.md 4a8c5cea83 Change byo network and add CentOS support 6 năm trước cách đây
cleanup.sh 07a17b390c WIP: libvirt testing work 6 năm trước cách đây
deploy.sh 07a17b390c WIP: libvirt testing work 6 năm trước cách đây
deploy_centos.sh 4a8c5cea83 Change byo network and add CentOS support 6 năm trước cách đây
dnsmasq_setup.sh 4a8c5cea83 Change byo network and add CentOS support 6 năm trước cách đây
generate_assets.sh 07a17b390c WIP: libvirt testing work 6 năm trước cách đây
generate_inventory.sh 8d81d41abc Add inventory generation 6 năm trước cách đây
install-config.yml.template 6aa57495bb support worker node scaleup 6 năm trước cách đây
installrc 4a8c5cea83 Change byo network and add CentOS support 6 năm trước cách đây
installrc_centos 4a8c5cea83 Change byo network and add CentOS support 6 năm trước cách đây
inv.txt.template 4a8c5cea83 Change byo network and add CentOS support 6 năm trước cách đây
node_scaleup.sh 6aa57495bb support worker node scaleup 6 năm trước cách đây
rhel_setup.sh 07a17b390c WIP: libvirt testing work 6 năm trước cách đây
run_ansible.sh 07a17b390c WIP: libvirt testing work 6 năm trước cách đây
ssh_config.sh 4a8c5cea83 Change byo network and add CentOS support 6 năm trước cách đây
terraform_provision.sh a2f90016e6 Add libvirt terraform testing scripts 6 năm trước cách đây

README.md

Do Not Use

Anything contained in this directory is unsupported and should not be used to provision any OpenShift clusters. Please refer to official documentation for supported installation methods.

How to use

Don't use it.

RHEL specific steps

clone https://github.com/openshift/aos-ansible/pull/74 to ~/git/aos-ansible (Red Hat use only)

Setup

Ensure openshift-install and terraform are in your path.

cd to this directory.

One time scripts

You should run the following once ever.

./ssh_config.sh
sudo ./dnsmasq_setup.sh

This will configure ~/.ssh/config to ensure entries aren't added to know hosts and configure dnsmasq to route dns requests to the right interface.

Source environment variables.

source installrc; export variables you want to override. You'll need to at least update what image you want to use unless you have that exact image in that exact place.

If installing with CentOS, you can source installrc_centos after sourcing installrc. This will setup image URI and ssh user.

Only CentOS or RHEL is supported at this time, you cannot deploy both at the same time using these scripts.

Install RHEL

./deploy.sh This will generate install assets (inventory, install-config.yml, tfvars), provision instances via terraform and start installation of openshift-ansible.

Install CentOS

Image: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1809.qcow2.xz Be sure to save that to ~/images/ and xz -d.

./deploy_centos.sh

Cleanup

Afterwards, you can cleanup with ./cleanup.sh