Skip to content

Instantly share code, notes, and snippets.

@maikell
maikell / docker-compose.yml
Last active December 11, 2022 16:58
Docker plex/media stack
version: "2.4"
services:
plex:
image: lscr.io/linuxserver/plex:latest
container_name: plex
network_mode: host
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
@maikell
maikell / gist:91095b9fdfdc72d40d49dfe40eb8381a
Created August 19, 2022 15:31
acme.sh wildcard with duckdns.org
#!/bin/sh
TOKEN=
DOMAIN=
EMAIL=
HOST_CERT_LOCATION=
docker run -v $HOST_CERT_LOCATION:/acme.sh \
-it -e DuckDNS_Token=$TOKEN \
neilpang/acme.sh acme.sh --issue --domain $DOMAIN \
@maikell
maikell / kickstart-centos7-usb.md
Created October 13, 2016 05:14
Kickstart driven CentOS 7 install from USB

Kickstart driven CentOS 7 install from USB

None of what is written below is particularly original, however, I was unable to find a method documented on the internet at the time of writing that successfully created a kickstart driven CentOS 7 USB installer.

My interest was in doing this manually as I require this USB (image) to be created from a script. Therefore, I did not look into using ISO to USB applications - in addition, these typically do not allow custom kickstart files to be used.

References

Much of the process described below was found on the CentOS Wiki page on Installing from USB key, and from the Softpanorama page on the same subject. I thoroughly recommend reading all of the latter as it highlights the shortcomings/dangers associated with the steps below.

USB key preparation

Keybase proof

I hereby claim:

  • I am maikell on github.
  • I am maikel (https://keybase.io/maikel) on keybase.
  • I have a public key whose fingerprint is 5331 7341 B89D ECE7 3B44 EFA2 F18E CE76 4011 758E

To claim this, I am signing this object: