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 whose fingerprint is 3DAD 02DB 8AD5 CF95 52CD 23DC 2536 3C0E 6AF2 78C6

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 [email protected] "sudo dd if=/dev/mmcblk0 bs=1M | gzip - " | dd of=~/Desktop/backup_2017-11-14.gz