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:
I hereby claim:
To claim this, I am signing this object:
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.
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.
#!/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 \ |
version: "2.4" | |
services: | |
plex: | |
image: lscr.io/linuxserver/plex:latest | |
container_name: plex | |
network_mode: host | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- VERSION=docker |