Skip to content

Instantly share code, notes, and snippets.

View vlad88sv's full-sized avatar
😎

Vladimir Hidalgo vlad88sv

😎
View GitHub Profile
@vlad88sv
vlad88sv / openssl.sh
Created March 22, 2023 04:43
Extract or export public key from AWS EC2 ED25519 pem or cer key
# Important: backup all your keys first
openssl rsa -in key.cer -pubout -out key.pem
ssh-keygen -i -m PKCS8 -f key.pem > key.pub
@vlad88sv
vlad88sv / gist:1bab15cf8353916e12b52f853b919dee
Created April 17, 2024 18:46
Oracle Linux 9: fix boot issue with message "a start job is running for /dev/mapper/ol-home"
Oracle Linux 9: fix boot issue with message `a start job is running for /dev/mapper/ol-home`:
`mv /etc/lvm/devices/system.devices{,.bak}`
Full refernece of why LVM is causing this issue: https://docs.rockylinux.org/release_notes/9_2/#upgrading