Skip to content

Instantly share code, notes, and snippets.

View egandro's full-sized avatar

Harald Fielker egandro

View GitHub Profile
### Keybase proof
I hereby claim:
* I am egandro on github.
* I am harryfi (https://keybase.io/harryfi) on keybase.
* I have a public key ASDxr-pBQmyOFr11Lq1S_8mJRYHI_VS8O6sOECYEom5nDgo
To claim this, I am signing this object:
#!/bin/bash
set -x
set -e
# --- CONFIGURATION ---
PDM_HOST="https://pdm.whatever:8443"
USERNAME="root@pam"
PASSWORD="Secret@PassWord123"
# ACME Config
#!/bin/bash
PLUGIN_FILE="/usr/share/proxmox-acme/dnsapi/dns_hetznercloud.sh"
SCHEMA_FILE="/usr/share/proxmox-acme/dns-challenge-schema.json"
DOWNLOAD_URL="https://raw.githubusercontent.com/acmesh-official/acme.sh/refs/tags/3.1.2/dnsapi/dns_hetznercloud.sh"
if [ -f "$PLUGIN_FILE" ]; then
echo "File '$PLUGIN_FILE' already exists. Stopping."
exit 0
fi
ssh pi@192.168.10.11 "sudo dd if=/dev/mmcblk0 bs=1M | gzip - " | dd of=~/Desktop/backup_2017-11-14.gz