Procedure
- Run the following commands.
cd /ocp-tools
mkdir gi300-on-azure
./openshift-install create install-config --dir gi300-on-azure --log-level=info
- When prompted, enter the following settings.
- Enter
azure
as the platform.
- The Azure service principal client
ID is the
appId
value that you recorded when you created the service principal.
- The Azure service principal client
secret is the password value that you recorded when created the service principalcreating the service principal.
- The Base Domain is the pseudo-public DNS zone that
you created.
For example,
Results
After the command completes, the /ocp-tools/gi300-on-azure directory
will contain configuration files, including
install-config.yaml:ls -la /ocp-tools/gi300-on-azure
total 48
drwxr-xr-x 2 root root 100 May 24 14:05 .
drwxr-xr-x 3 root root 176 May 24 12:48 ..
-rw-r----- 1 root root 4013 May 24 14:05 install-config.yaml
-rw-r--r-- 1 root root 26626 May 24 14:05 .openshift_install.log
-rw-r----- 1 root root 14508 May 24 14:05 .openshift_install_state.json
Tip: If you want to create the configuration files again, delete
/root/.azure/osServicePrincipal.json and then repeat these
steps.