Skip to content

Add openSUSE Tumbleweed/Leap support#1166

Merged
angristan merged 8 commits intoangristan:masterfrom
guoyunhe:opensuse
Dec 11, 2025
Merged

Add openSUSE Tumbleweed/Leap support#1166
angristan merged 8 commits intoangristan:masterfrom
guoyunhe:opensuse

Conversation

@guoyunhe
Copy link
Contributor

No description provided.

@guoyunhe guoyunhe marked this pull request as ready for review July 23, 2023 12:08
@angristan angristan force-pushed the opensuse branch 2 times, most recently from 43b1f19 to 066d850 Compare December 11, 2025 16:24
@angristan angristan changed the title openSUSE support Add openSUSE Tumbleweed/Leap support Dec 11, 2025
@angristan angristan requested a review from Copilot December 11, 2025 16:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for openSUSE Tumbleweed and openSUSE Leap 16+ distributions to the OpenVPN installer script. The changes enable the script to detect, install, configure, and remove OpenVPN on openSUSE systems using zypper as the package manager.

Key Changes

  • Added OS detection logic for openSUSE Tumbleweed and Leap distributions with version validation
  • Implemented openSUSE-specific package management commands (zypper) across install, uninstall, and configuration functions
  • Extended test infrastructure to include openSUSE distributions in CI/CD pipeline and test suite

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
openvpn-install.sh Added openSUSE OS detection in checkOS function with version check for Leap 16+; added zypper commands for installing/removing OpenVPN and Unbound; added openSUSE-specific Unbound remote-control configuration
test/Dockerfile.server Added zypper package manager support with necessary dependencies for openSUSE containers
README.md Updated compatibility table to include openSUSE Leap >= 16 and openSUSE Tumbleweed as supported distributions
Makefile Added test-opensuse-leap and test-opensuse-tumbleweed targets for local testing
.github/workflows/docker-test.yml Added openSUSE Leap 16.0 and Tumbleweed to the CI test matrix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

guoyunhe and others added 7 commits December 11, 2025 20:42
- Add version check requiring openSUSE Leap >= 16
- Fix Unbound remote-control SSL cert issue (openSUSE-specific)
- Add CI tests for openSUSE Leap 16.0 and Tumbleweed
- Add Makefile test targets for openSUSE
- Add zypper/gawk support to test Dockerfile
- Update README compatibility table
The amzn2023 service name fix should be a separate PR.
The change from /etc/system-release to /etc/os-release (needed for
openSUSE support) broke Arch Linux detection because Arch also has
/etc/os-release. Now we check for ID="arch" inside that branch.
Copy link
Owner

@angristan angristan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

@angristan angristan merged commit bbf93a1 into angristan:master Dec 11, 2025
47 of 48 checks passed
@guoyunhe guoyunhe deleted the opensuse branch December 12, 2025 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants