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 bash | |
| # wget -qO 0-pve.sh https://gist.github.com/sugoidogo/4684e4659431e17d15be20171160c1f9/raw/ && bash 0-pve.sh | |
| set -e | |
| export DEBIAN_FRONTEND=noninteractive | |
| export APT_LISTCHANGES_FRONTEND=none | |
| function download { wget $* || curl -fLO $*; } | |
| function stream { wget -qO- $* || curl -fsSL $*; } | |
| function package { apt $* || dnf $*; } | |
| echo "This script will download and run the installation script in a screen session" | |
| echo "The installation script will download post-installation scripts to $HOME and reboot the system upon successful installation" |