Skip to content

Instantly share code, notes, and snippets.

@jkeam
Created July 1, 2025 02:03
Show Gist options
  • Save jkeam/34e000018c6dc35ea25936758aed1f6d to your computer and use it in GitHub Desktop.
Save jkeam/34e000018c6dc35ea25936758aed1f6d to your computer and use it in GitHub Desktop.
Log into the OpenShift cluster using the CLI from a VM running on OpenShift Virtualization.
#!/bin/bash
oc login --token=sha256~randomstuff --server=https://apiserver.openshift-kube-apiserver.svc.cluster.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment