Skip to content

Instantly share code, notes, and snippets.

View darkmuggle's full-sized avatar
🏠
Always WFH

Ben Howard darkmuggle

🏠
Always WFH
  • Upbound.io
  • 24° 25' 12.126'' N 77° 2' 54.3948'' W
  • 04:21 (UTC -06:00)
View GitHub Profile
### Keybase proof
I hereby claim:
* I am darkmuggle on github.
* I am darkmuggle (https://keybase.io/darkmuggle) on keybase.
* I have a public key ASDILXac-10Kkou7NQapMBpPmo-KzrKpEXP87lS4sXHrQQo
To claim this, I am signing this object:
@darkmuggle
darkmuggle / fcct.yaml
Created March 16, 2021 15:06
darkmuggle Ignition.json
variant: fcos
version: 1.0.0
storage:
links:
- path: /home/core/.ssh/authorized_keys
target: /home/core/.ssh/authorized_keys.d
user:
name: core
passwd:
users:
diff --git a/templates/common/vsphere/files/vsphere-hostname.yaml b/templates/common/vsphere/files/vsphere-hostname.yaml
index b3dfef52..e4be8220 100644
--- a/templates/common/vsphere/files/vsphere-hostname.yaml
+++ b/templates/common/vsphere/files/vsphere-hostname.yaml
@@ -5,6 +5,9 @@ contents:
#!/usr/bin/env bash
set -e
+ # only run if the hostname is not set
+ test -f /etc/hostname && exit 0 || :
## Notes for Fedora 33 on Macbook Pro 14,1
# Set fractional DPI
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
# Disable Typing
gsettings set org.gnome.desktop.peripherals.touchpad disable-while-typing true
# Drivers at boot
cat > /etc/modules-load.d/macbook.conf <<EOM
diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile
index c04d27e4..3e840dce 100644
--- a/.cci.jenkinsfile
+++ b/.cci.jenkinsfile
@@ -1,15 +1,16 @@
// Documentation: https://github.com/coreos/coreos-ci/blob/master/README-upstream-ci.md
-pod(image: 'registry.fedoraproject.org/fedora:32', runAsUser: 0, kvm: true, memory: "10Gi") {
+stage("Build") {
+ openshiftBuild(bldCfg: 'cosa-ci-image-testing', showBuildLogs: true, verbose: true,
@darkmuggle
darkmuggle / devel.json
Created September 21, 2020 14:38
RHCOS tang
{
"t": 1,
"pins": {
"tang": [
{
"url": "https://tanger-rhcos-devel.svc.ci.openshift.org",
"thp": "nt95BWah3yCktUUJC4_VVW0q7Jk"
}
]
}
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: master
name: 99-disk-partition
spec:
config:
ignition:
version: 3.1.0
@darkmuggle
darkmuggle / v2-test.yaml
Created July 10, 2020 19:00
test of v2, maybe
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: master
name: 99-ignition-disks
spec:
config:
ignition:
version: 2.2.0
@darkmuggle
darkmuggle / ign-example
Created July 10, 2020 16:37
RHCOS example
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: master
name: 99-ignition-disks
spec:
config:
ignition:
version: 2.2.0
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: master
name: 50-var-log
spec:
config:
ignition:
version: 2.2.0