Skip to content

Instantly share code, notes, and snippets.

View jasonbrooks's full-sized avatar

Jason Brooks jasonbrooks

View GitHub Profile
@qrkourier
qrkourier / ovirt-private-ca.md
Last active October 11, 2021 07:57
Install a Server Certificate For oVirt Manager UI

Install server certificates issued by a private CA in oVirt4 Manager and Host

  • generate a signing request on the system where oVirt Manager is running (the engine server)
openssl req -new -sha256 -key /etc/pki/ovirt-engine/keys/apache.key.nopass -out /tmp/engine.csr
  • Submit the CSR to the issuer and wait. Or, if you are the issuer and you happen to be using FreeIPA/IdM, you may issue the certificate with ipa-admintools. For example,
@aweiteka
aweiteka / openshift2kube.md
Created December 23, 2015 15:21
Exporting OpenShift to Kubernetes

Exporting an application from OpenShift to Kubenetes

OpenShift v3 is based on Kubernetes, adding additional objects such as builds, routes and image streams.

Metadata

Common objects or data types

  • pods
  • replication controllers (rc)
@goldmann
goldmann / .zshrc
Last active June 24, 2019 06:18
Docker aliases / helper function
alias dip="docker inspect -f '{{ .NetworkSettings.IPAddress }}'"
dssh() {
PID=$(docker inspect --format {{.State.Pid}} $1)
sudo /usr/bin/nsenter --target $PID --mount --uts --ipc --net --pid env -i - $(sudo cat /proc/$PID/environ | xargs -0) bash
}
drmiall() {
docker rmi `docker images -q -f dangling=true`
}