Disable Webmin for openSUSE and update documentation

- Webmin not available in openSUSE Leap repositories
- Skip Webmin installation prompt for openSUSE users
- Update README to clarify Webmin availability
- Provide manual installation instructions for openSUSE
This commit is contained in:
Mărcziem ™
2025-10-06 10:49:32 +02:00
parent ca6a37ff51
commit ad98dd210c
3 changed files with 17 additions and 7 deletions

View File

@@ -364,7 +364,13 @@ create_interactive_config() {
# Automatic updates (optional)
save_config "ENABLE_AUTO_UPDATES" "$(ask_yes_no "Enable automatic security updates (unattended-upgrades)?" "n" && echo "true" || echo "false")"
save_config "INSTALL_WEBMIN" "$(ask_yes_no "Install Webmin web interface?" "n" && echo "true" || echo "false")"
# Webmin (not available on openSUSE)
if [[ "$DISTRO" == "opensuse" ]]; then
log_info "Webmin is not available for openSUSE Leap - skipping"
save_config "INSTALL_WEBMIN" "false"
else
save_config "INSTALL_WEBMIN" "$(ask_yes_no "Install Webmin web interface?" "n" && echo "true" || echo "false")"
fi
log_success "Configuration created and saved to ${CONFIG_FILE}"
}