Skip to content

Instantly share code, notes, and snippets.

FROM quay.io/centos-boot/centos-tier-1-dev:stream9
RUN rpm-ostree install gdm firefox gnome-kiosk-script-session plymouth-system-theme
RUN rm -rf /var/lib/gdm/.config/pulse/default.pa && rm -rf /var/lib/xkb/README.compiled
RUN echo -e "\
#Enable autologin for the user core \n\
# GDM configuration storage \n\
[daemon] \n\
# Uncomment the line below to force the login screen to use Xorg \n\
#WaylandEnable=false \n\
AutomaticLogin=core \n\
@runcom
runcom / Containerfile
Created November 21, 2023 09:06
kiosk
FROM quay.io/centos-boot/centos-tier-1-dev:stream9
RUN rpm-ostree install gdm firefox gnome-kiosk-script-session plymouth-system-theme
RUN rm -rf /var/lib/gdm/.config/pulse/default.pa && rm -rf /var/lib/xkb/README.compiled && ostree container commit
dracutmodules+=" ostree systemd-ask-password ignition ignition-edge network-manager network url-lib clevis clevis-pin-null crypt lvm fido2 udev-rules fs-lib uefi-lib "
FROM registry.gitlab.com/centos/cloud/sagano/centos-boot-tier-1:stream9
USER root
COPY 80-iot.preset /usr/lib/systemd/system-preset
COPY 01-edge-base.conf /usr/lib/dracut/dracut.conf.d
RUN update-crypto-policies --set DEFAULT:SHA1 && \
rpm-ostree install \
ignition \
ignition-edge \
ssh-key-dir \
grub2 \
include:
- centos-tier-1-stream9.yaml
# Configuration for the initramfs
postprocess:
- |
#!/usr/bin/env bash
mkdir -p /usr/lib/systemd/system-preset
cat > /usr/lib/systemd/system-preset/80-iot.preset << 'EOF'
# greenboot generic health checking framework
@runcom
runcom / keysigning_party.sh
Created February 5, 2020 08:58
script to sign and send sigs after a keysigning party (FOSDEM)
#!/bin/bash
set -e
GNUPGHOME=./gnupg-backup
for i in "${@:1}"
do
KEY=$i
gpg --homedir ./gnupg-backup --ask-cert-level --sign-key $KEY
gpg --homedir ./gnupg-backup --armor --export $KEY | gpg --homedir ./gnupg-backup --encrypt -r $KEY --armor --output fosdem-keysigning/$KEY-signedBy-CC5C9A81EDCAD821.asc
diff --git a/config.def.h b/config.def.h
index 82b1b09..cfbdc9f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -82,6 +82,9 @@ char *termname = "st-256color";
*/
unsigned int tabspaces = 8;
+/* bg opacity */
+unsigned int alpha = 0xcc;
libvirt F25 VM
May 06 15:23:44 fedora.vm ovs-vsctl[8217]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --if-exists del-br br0 -- add-br br0 -- set Bridge br0 fail-mode=secure protocols=OpenFlow13
May 06 15:23:44 fedora.vm origin-node[8146]: F0506 15:23:44.822983 8146 node.go:325] error: SDN node startup failed: exit status 1
May 06 15:23:44 fedora.vm systemd[1]: origin-node.service: Main process exited, code=exited, status=255/n/a
May 06 15:23:44 fedora.vm systemd[1]: Failed to start Origin Node.
May 06 15:23:44 fedora.vm systemd[1]: origin-node.service: Unit entered failed state.
May 06 15:23:44 fedora.vm systemd[1]: origin-node.service: Failed with result 'exit-code'.
@runcom
runcom / Centos_7
Last active August 30, 2017 06:59
CRI-O + k8s
# Centos 7 VM, 8GB ram, 20+GB storage
# dnf update
# dnf install gpgme-devel libassuan-devel libseccomp-devel device-mapper-devel btrfs-progs-devel glibc-static glibc-devel glib2-devel iptables git golang
# export GOPATH=$HOME/go
# export PATH=$PATH:$GOPATH/bin
# go get -d github.com/opencontainers/runc
# go get -d github.com/kubernetes-incubator/cri-o
# go get -d k8s.io/kubernetes
# go get -d github.com/containernetworking/cni
@runcom
runcom / config.yml
Last active November 15, 2016 21:42
test out layer federation with docker
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: ./reg_store
http: