This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo mkdir -p /etc/systemd/user/{default.target.wants,timers.target.wants,sockets.target.wants} | |
sudo mkdir -p /usr/lib/systemd/user | |
cat <<EOF | sudo tee /etc/systemd/user/sockets.target.wants/podman.socket | |
[Unit] | |
Description=Podman API Socket | |
Documentation=man:podman-system-service(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
# Global options block. Entirely optional, https is on by default | |
# Optional email key for lets encrypt | |
email [email protected] | |
# Optional staging lets encrypt for testing. Comment out for production. | |
acme_ca https://acme-v02.api.letsencrypt.org/directory | |
# acme_ca https://acme-staging-v02.api.letsencrypt.org/directory | |
# test_dir https://acme-staging-v02.api.letsencrypt.org/directory | |
key_type p384 | |
acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
# Global options block. Entirely optional, https is on by default | |
# Optional email key for lets encrypt | |
email {env.CLOUDFLARE_EMAIL} | |
acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN} | |
acme_ca https://acme-v02.api.letsencrypt.org/directory | |
# Optional staging lets encrypt for testing. Comment out for production. | |
# acme_ca https://acme-staging-v02.api.letsencrypt.org/directory | |
key_type p384 | |
admin off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Gather machine information | |
_mch_arch=$(uname -m) | |
_mch_os=$(uname -s) | |
_mch_goVer=$(go version 2> /dev/null | awk '{print $3}' | sed 's/go//g') | |
if [ ${_mch_arch} = "x86_64" ] | |
then | |
_mch_arch="amd64" |