Skip to content

Instantly share code, notes, and snippets.

View jfroy's full-sized avatar

Jean-François Roy jfroy

View GitHub Profile
@jfroy
jfroy / mkosi.conf
Created January 17, 2025 17:39
rescue-os
[Distribution]
Distribution=arch
[Content]
Autologin=true
Bootloader=none
KernelCommandLine=rw
Keymap=us
Locale=en_US.UTF-8
MakeInitrd=no
# default to using syslog. /etc/rsyslog.d/45-frr.conf places the log in
# /var/log/frr/frr.log
#
# Note:
# FRR's configuration shell, vtysh, dynamically edits the live, in-memory
# configuration while FRR is running. When instructed, vtysh will persist the
# live configuration to this file, overwriting its contents. If you want to
# avoid this, you can edit this file manually before starting FRR, or instruct
# vtysh to write configuration to a different file.
log syslog informational
@jfroy
jfroy / 55-dracut.install
Last active February 2, 2025 02:07
Debian 12 "modern booting"
#!/bin/sh
set -eu
COMMAND="$1"
KERNEL_VERSION="$2"
INITRD="${KERNEL_INSTALL_STAGING_AREA}/initrd.img-${KERNEL_VERSION}"
[ "$COMMAND" = add ] || exit 0

Keybase proof

I hereby claim:

  • I am jfroy on github.
  • I am jfroy (https://keybase.io/jfroy) on keybase.
  • I have a public key whose fingerprint is F219 46EB 1282 A8EE 82BD 70F5 B152 3863 5F34 59B2

To claim this, I am signing this object: