Skip to content

Instantly share code, notes, and snippets.

View bensallen's full-sized avatar

Ben Allen bensallen

View GitHub Profile
@bensallen
bensallen / test1.sh
Last active November 25, 2021 03:50
MUSL libc - busybox
#!/bin/sh -e
MUSL_VERS=1.1.14
BUSYBOX_VERS=1.24.2
BASE=$PWD
mkdir -p $BASE/warewulf4/initramfs
mkdir -p $BASE/warewulf4/initramfs/3rd_party/MIT
mkdir -p $BASE/warewulf4/initramfs/3rd_party/GPL
#!/usr/bin/perl
#
# Copyright (c) 2001-2003 Gregory M. Kurtzer
#
# Copyright (c) 2003-2011, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt of any
# required approvals from the U.S. Dept. of Energy). All rights reserved.
#

Keybase proof

I hereby claim:

  • I am bensallen on github.
  • I am bensallen (https://keybase.io/bensallen) on keybase.
  • I have a public key ASA-xxuTFsO-crTweiBQTsNUZ3rOlxfgxyqzzZfKJt7kPwo

To claim this, I am signing this object:

apiVersion: v1
kind: ConfigMap
metadata:
name: kube-router-cfg
namespace: kube-system
labels:
tier: node
k8s-app: kube-router
data:
cni-conf.json: |
#!/bin/bash
# Outputs info in a CSV format that can be pasted into Duo's Hardware Token import
# Sets the second slot to a blank entry as FIPS modes requires both slots to have an access code set
if [ -z "${YUBIKEY_ACCESS_CODE}" ]; then
echo "Set YUBIKEY_ACCESS_CODE, exiting"
exit 1
fi