Last active
December 1, 2022 23:46
-
-
Save robin-collins/53118defcfa795d3a60bf07a5327b946 to your computer and use it in GitHub Desktop.
Proxmox: Download all LXC templates to STORAGE
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
#!/bin/bash | |
STORAGE=hdd;available=$(pveam available | awk '{print $2}');array=(${available//$'\n'/ });for download in "${array[@]}"; do echo "Downloading ${download}"; timeout 180 pveam download "${STORAGE}" "${download}"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment