1. Login into the Engine machine
2. Clone the ocp-on-ovirt repo
$ git clone https://github.com/ovirt/ocp-on-ovirt/ && cd ocp-on-ovirt/ipi-tools
3. Set environment vars to create the new username ocpadmin
$ export OVIRT_ENGINE_FQDN=engine.medogz.home
$ export OVIRT_ENGINE_USERNAME=admin@internal
$ export OVIRT_ENGINE_PASSWORD=mysuperpassword
$ export OCP_ADMIN_PASSWORD=__PASSWORD_FOR_ocpadmin_username__
4. Run the ansible-playbook
$ ansible-playbook ovirt_ocpadmin_user-setup.yml
No comments:
Post a Comment