This file contains hidden or 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
| [Container] | |
| Image=docker.io/jellyfin/jellyfin:latest | |
| ContainerName=jellyfin | |
| AutoUpdate=registry | |
| PublishPort=8096:8096 | |
| Volume=%h/jellyfin/cache:/cache:Z | |
| Volume=%h/jellyfin/config:/config | |
| Volume=/data/video:/media/video | |
| #Mount=type=bind,source=/data/audio,destination=/media/audio,ro=true |
This file contains hidden or 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
| # /etc/apt/sources.list.d/gcloud.sources | |
| Types: deb | |
| URIs: https://packages.cloud.google.com/apt | |
| Suites: cloud-sdk | |
| Components: main | |
| Signed-By: /usr/share/keyrings/cloud.google.gpg | |
| # curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg |
This file contains hidden or 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
| get_latest_release(){ | |
| curl -s https://api.github.com/repos/$GH_USER/$GH_REPO/releases/latest | jq '.assets[]|.browser_download_url' | |
| } |
This file contains hidden or 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
| # https://help.nextcloud.com/t/howto-nextcloud-as-a-rootless-container-using-podman-play-kube-with-centos8-stream/110377 | |
| PODNAME=nxcl | |
| DDIR=/var/lib/nextcloud | |
| mkdir -p ${DDIR}/{nginx,html} | |
| set -x | |
| if (podman pod exists ${PODNAME}); then | |
| podman rm -f ${PODNAME}-app | |
| podman rm -f ${PODNAME}-cron | |
| podman rm -f ${PODNAME}-redis | |
| podman rm -f ${PODNAME}-nginx |
This file contains hidden or 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
| Types: deb | |
| Architectures: amd64 | |
| URIs: https://baltocdn.com/helm/stable/debian/ | |
| Suites: all | |
| Components: main | |
| Signed-By: | |
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mQINBF6yP7IBEADWk4aijQ7Vhj7wn2oz+8asnfzsD0+257qjWy1m+cN4RP6T2NBG | |
| S2M5+vzbsKNmGAja8jOpo46pHo/SCdc8Bwv+QHH+JbuBbDNEHwIBGV5p+ZRETiHq |
This file contains hidden or 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
| #!/bin/bash | |
| # Function to extract the latest version number from the Terraform website | |
| get_latest_version() { | |
| curl -s https://releases.hashicorp.com/terraform/index.json | jq -r '.versions[].version' | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n1 | |
| } | |
| # Function to download and install Terraform | |
| install_terraform() { | |
| version=$1 |
This file contains hidden or 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
| [Match] | |
| Name=br0 | |
| [Network] | |
| Address=10.0.0.7/24 | |
| #Gateway=10.0.0.1 | |
| DNS=10.0.1.5 | |
| Domains=domain example.com | |
| #LinkLocalAddressing=ipv6 | |
| ConfigureWithoutCarrier=yes |
This file contains hidden or 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
| LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' | while read snapname revision; do sudo snap remove "$snapname" --revision="$revision"; done |
This file contains hidden or 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
| [Unit] | |
| Description=Cloud-Hypervisor for %i | |
| After=network.target | |
| After=local-fs.target | |
| After=remote-fs.target | |
| After=systemd-logind.service | |
| After=systemd-machined.service | |
| Wants=network.target | |
| [Service] |
This file contains hidden or 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
| <domain type='kvm'> | |
| <name>cloudhypervisor</name> | |
| <uuid>4dea22b3-1d52-d8f3-2516-782e98ab3fa0</uuid> | |
| <os> | |
| <type>hvm</type> | |
| <kernel>hypervisor-fw</kernel> | |
| </os> | |
| <memory unit='G'>2</memory> | |
| <devices> | |
| <disk type='file'> |