Skip to content

Instantly share code, notes, and snippets.

View makingglitches's full-sized avatar
🤬
Every fix things across several years and some jackass sets everything back?

Loki The Great makingglitches

🤬
Every fix things across several years and some jackass sets everything back?
View GitHub Profile
@YutaroHayakawa
YutaroHayakawa / fedora_chroot.bash
Last active January 4, 2023 01:56
Bash script to setup simple Fedora chroot environment from container layer image
#!/bin/bash
# You can find the container image for each release from here. Please rewrite below url to your nearest one.
# https://admin.fedoraproject.org/mirrormanager/
CONTAINER_IMAGE="http://mirror.crucial.com.au/fedora/linux/releases/30/Container/x86_64/images/Fedora-Container-Base-30-1.2.x86_64.tar.xz"
function setup() {
local CHROOT=$1