Skip to content

Instantly share code, notes, and snippets.

View ibuziuk's full-sized avatar
🏠
Working from home

Ilya Buziuk ibuziuk

🏠
Working from home
View GitHub Profile
#!/bin/bash
## This script expects oc to be logged in into proper cluster, where you want the root cert to be imported from
oc get secret router-ca -n openshift-ingress-operator -o jsonpath="{.data.tls\.crt}" | base64 -d > ca.crt
certutil -d sql:$HOME/.pki/nssdb -A -t CT,C,C -n $(openssl x509 -in ca.crt -text |grep Issuer| grep -o 'ingress-operator@.*') -i ca.crt
rm ca.crt
@181192
181192 / increase_root_fedora.md
Last active August 26, 2024 16:37
How to increase the root partition size on Fedora

How to increase the root partition size on Fedora

Boot up with an Fedora Live USB stick.

  1. Run vgs to check if there's any space:
$ sudo vgs
  VG     #PV #LV #SN Attr   VSize    VFree
  fedora   1   3   0 wz--n- <237.28g    0