Skip to content

Instantly share code, notes, and snippets.

@cianclarke
Last active August 29, 2015 14:21
Show Gist options
  • Save cianclarke/56c427aeceb2a6a6bd3d to your computer and use it in GitHub Desktop.
Save cianclarke/56c427aeceb2a6a6bd3d to your computer and use it in GitHub Desktop.
Getting `osc` working on an OSX host
#on target box, master node
osc config view
#paste entire contents of this file
#on OSX host - assumes go setup, $GOPATH configured
go get github.com/openshift/origin
$ cd $GOPATH/src/github.com/openshift/origin
hack/build-go.sh
vi openshift.local.config/master/admin.kubeconfig
#insert contents of entire file from master node, save
_output/local/go/bin/osc get projects
#hey presto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment