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
| # Make sure you are using gpg2 | |
| git config --global gpg.program gpg2 | |
| # Clone empty repository | |
| git clone git@github.com:ruzickap/terraform-gitops.git | |
| # Configure a repository to use git-crypt | |
| cd terraform-gitops | |
| git-crypt init |
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
| #!/usr/bin/env python | |
| """ | |
| Print (and write to JSON file) system information in a cross-platform manner. | |
| Output contains information about platform, BIOS, CPU, memory, disk, GPU, network, peripheral devices, installed | |
| packages, motherboard and users. | |
| This script heavily relies on psutil and some other bash/powershell commands. See requirements.txt for dependency list. |
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 | |
| # https://bugzilla.redhat.com/show_bug.cgi?id=1577511 | |
| # https://github.com/TigerVNC/tigervnc/issues/606 | |
| rm /tmp/systemd-tigervnc.te 2>/dev/null | |
| cat << EOF > /tmp/systemd-tigervnc.te | |
| module systemd-tigervnc 1.0; |
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 | |
| # | |
| BACKUPDEST="$1" | |
| DOMAIN="$2" | |
| MAXBACKUPS="$3" | |
| if [ -z "$BACKUPDEST" -o -z "$DOMAIN" ]; then | |
| echo "Usage: ./vm-backup <backup-folder> <domain> [max-backups]" | |
| exit 1 |