automate interaction for webmin install

This commit is contained in:
Benjamin Krein 2023-11-13 19:16:04 -05:00
parent 23e5286267
commit 1f3e3e1245

View File

@ -967,9 +967,9 @@ function installWebmin() {
echo "Installing packages..."
sudo apt-get install curl libcgi-session-perl --no-install-recommends --assume-yes </dev/null
curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
sudo sh setup-repos.sh
sudo sh setup-repos.sh -f
rm setup-repos.sh
sudo apt-get install webmin --install-recommends </dev/null
sudo apt-get install webmin --install-recommends --assume-yes </dev/null
echo
echo "Downloading and installing Webmin module..."
if [[ -f "$WEBMIN_MODULE_CONFIG" ]]; then