Skip to content

Instantly share code, notes, and snippets.

View beekhof's full-sized avatar

Andrew Beekhof beekhof

View GitHub Profile
#!/usr/bin/env python
from ctypes import *
class struct_timespec(Structure):
_fields_ = [('tv_sec', c_long), ('tv_nsec', c_long)]
class struct_stat64(Structure):
_fields_ = [
('st_dev', c_int32),
#!/usr/bin/env python
from datetime import datetime
import subprocess
import getopt
import sys
import os
import re
results={}
use strict;
use vars qw($VERSION %IRSSI);
use File::stat;
use Irssi;
$VERSION = '0.0.3';
%IRSSI = (
authors => 'Andrew Beekhof',
contact => '[email protected]',
name => 'fnotify',
commit 5ed03647285915b8fcd0e41df6ff14b3f6079848
Author: Andrew Beekhof <[email protected]>
Date: Tue Jun 11 01:02:27 2019 -0400
Beginnings of etcd provisioning on the bootstrap node
Signed-off-by: Andrew Beekhof <[email protected]>
diff --git a/data/data/bootstrap/files/usr/local/bin/bootkube.sh.template b/data/data/bootstrap/files/usr/local/bin/bootkube.sh.template
index ecb30c8..a57992e 100755
@beekhof
beekhof / nmo.md
Last active February 11, 2020 07:56
#!/bin/bash
virt_connect="--connect=qemu:///session"
virsh="virsh ${virt_connect}"
svirsh="sudo virsh"
count=3
onlyone=$1
name=beekhof
SCRIPT_vm_vcpu=2
diff --git a/pkg/daemon/update.go b/pkg/daemon/update.go
index 773246cb..4dfd9325 100644
--- a/pkg/daemon/update.go
+++ b/pkg/daemon/update.go
@@ -17,6 +17,8 @@ import (
"syscall"
"time"
+ "github.com/openshift/machine-config-operator/pkg/daemon/pivot/reboot"
+
//
// Taby.swift
//
import SwiftUI
import PencilKit
import Foundation
import SwiftUI
import PencilKit
resourceExclusions: |
- apiGroups:
- admissionregistration.k8s.io/v1beta1
- apiextensions.k8s.io/v1beta1
- apiregistration.k8s.io/v1beta1
- authentication.k8s.io/v1beta1
- authorization.k8s.io/v1beta1
- autoscaling/v2beta1
- autoscaling/v2beta2
- batch/v1beta1
clusterGroup:
subscriptions:
- name: advanced-cluster-management
namespace: open-cluster-management
channel: release-2.4
csv: advanced-cluster-management.v2.4.1
- name: seldon-operator
namespace: manuela-ml-workspace
source: community-operators