Skip to content

Instantly share code, notes, and snippets.


Jason Brooks jasonbrooks

View GitHub Profile
jasonbrooks / centos8-to-stream-diff.txt
Created Dec 15, 2020
As of Dec 14 2020, CentOS 8 with all updates applied compared to CentOS Stream 8, package diffs.
View centos8-to-stream-diff.txt
-------------------------------------------------------------- ---------------------------------------------------------------
CentOS Linux 8 CentOS Stream 8
authselect-1.2.1-2.el8.x86_64 authselect-1.2.2-1.el8.x86_64
authselect-libs-1.2.1-2.el8.x86_64 authselect-libs-1.2.2-1.el8.x86_64
View kubeadm.repo
View feed.xml
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="">
<title>Red Hat Open Source Community</title>
<name>Red Hat, Inc.</name>
<title>Crafting an Open Source Product Strategy</title>
<link rel="alternate" href=""/>
jasonbrooks /
Last active May 3, 2018
This is based on the kubevirt quickstart from, with the addition of OpenShift steps and a note that while minikube is an easy way to bring up a cluster, these steps will work w/ other sorts of kubernetes and openshift clusters. If would make sense for this quickstart to live at https://www.k…

KubeVirt Quickstart

This demo will deploy KubeVirt on an existing Kubernetes (1.9 or later) or OpenShift Origin (3.9 or later) cluster. For a quick way to bring up a Kubernetes or OpenShift Origin cluster, see Minikube and Minishift.


Deploy KubeVirt

KubeVirt deploys as an add-on to a Kubernetes (1.9 or later) cluster, using the kubectl tool and the following manifest file:


Clone the openshift-ansible repo, check out the 3.9 branch.

# git clone
# cd openshift-ansible
# git checkout release-3.9

Create an inventory, I'm calling it 2-node.yml, with contents like these, substituting your correct master and node hostnames:

View centos-atomic-container.ks
# Keyboard layouts
keyboard 'us'
# Reboot after installation
# Root password
rootpw --iscrypted --lock locked
# System language
lang en_US
user --name=none
jasonbrooks / markdown-import.php
Last active Dec 16, 2017 — forked from vlucas/markdown-import.php
Imports Markdown files in a local directory into a WordPress installation
View markdown-import.php
// Turn on all error reporting so we can see if anything goes wrong
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
// Relative path to your wp-config.php file (to connect to the database)
require '../../wp-config.php';
require './frontmatter.php'; // Parses YAML frontmatter -
require './Parsedown.php'; // Markdown parser -

Fedora Atomic Host comes bundled with a version of Docker based on this project atomic repo that moves no faster than the upstream kubernetes project can abide. This means that Fedora Atomic pretty much always ships with an older version of docker than what's available from Docker Inc.

However, through the magic of rpm-ostree package layering, you can replace that older, baked-in docker with the very latest docker-ce. Here's how:

First, grab the repo file for docker-ce.

# cd /etc/yum.repos.d/
# curl -O

How to Migrate to Fedora 27 Atomic Kubernetes in System Containers

Starting with version 27 of Fedora Atomic Host, the rpms for Kubernetes, Flannel and Etcd are no longer "baked into" the image, but are available instead as system containers.

System containers can serve as drop-in replacements for components that had been included in the Fedora Atomic image. Once installed, these components will be manageable using the same systemctl commands that apply to regular rpm-installed components.

To replace Kubernetes, Flannel and Etcd with system containers, you would run the following commands.

System containers for master nodes


Start with CentOS 7

Set up the virt-sig repo:

# cat <<EOF > /etc/yum.repos.d/virt7-container-common-candidate.repo