Skip to content

Instantly share code, notes, and snippets.

@hferentschik
Created March 4, 2016 14:35
Show Gist options
  • Save hferentschik/c2340d4a82c49b805c79 to your computer and use it in GitHub Desktop.
Save hferentschik/c2340d4a82c49b805c79 to your computer and use it in GitHub Desktop.
cdk.vm.provision :shell, inline: <<-SHELL
/opt/adb/openshift/add_insecure_registry -ip #{REGISTRY_HOST}
systemctl enable openshift
systemctl start openshift
# https://github.com/projectatomic/adb-utils/issues/32
export KUBECONFIG=/var/lib/openshift/openshift.local.config/master/admin.kubeconfig
oadm policy add-cluster-role-to-user cluster-admin admin
SHELL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment