Skip to content

Instantly share code, notes, and snippets.

pfandl

Block or report user

Report or block pfandl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pfandl
pfandl / centos-installer-rw-overlay.sh
Last active Mar 31, 2020
Create a read-write overlay of / on the installation medium and chroot into it
View centos-installer-rw-overlay.sh
# RAW: https://bit.ly/2UvzYZ6
# * Boot into the Rescue option of the ISO.
# * ALT+TAB to get into shell or wait for the option 3)
# * setup networking
# ncmli connection up enp0s3
# * setup keymap to not get insane
# localectl set-keymap at
# * prepare overlayfs
mkdir /tmp/upper /tmp/work /tmp/root
@pfandl
pfandl / keyboard-layout.ks
Created Mar 30, 2020
CentOS 8 kickstart post install snippet to set a grub2 keyboard layout.
View keyboard-layout.ks
%post
# Setup grub2 keyboard layout.
KEYBOARD_LAYOUT=at
[ -d /sys/firmware/efi ] \
&& boot_directory=/boot/efi/EFI/centos \
|| boot_directory=/boot
You can’t perform that action at this time.