[PR #6512] [MERGED] turnkey: add hostname & Fix TUN access #6087

Closed
opened 2026-02-05 07:14:51 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/6512
Author: @masterofrpm
Created: 8/3/2025
Status: Merged
Merged: 8/4/2025
Merged by: @MickLesk

Base: mainHead: patch-1


📝 Commits (3)

📊 Changes

1 file changed (+16 additions, -3 deletions)

View changed files

📝 turnkey/turnkey.sh (+16 -3)

📄 Description

Allow choosing container ID & add tun device access to the container if it is OpenVPN. Also notify user that the credentials are stored in a file on the host machine.

✍️ Description

Allow choosing container ID and Hostname. Add tun device access to the container if it is OpenVPN. Also notify user that the credentials are stored in a file on the host machine. Also standardized the containers tag.

This is to resolve the issue when installing OpenVPN where it did not have access to the tun device as it was created as an unprivileged container. Being able to control the container ID and Hostname may also be important in certain environments. Standardizing the tag to show the same tag as other script installed VM's.

Link: #

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/6512 **Author:** [@masterofrpm](https://github.com/masterofrpm) **Created:** 8/3/2025 **Status:** ✅ Merged **Merged:** 8/4/2025 **Merged by:** [@MickLesk](https://github.com/MickLesk) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (3) - [`45b069b`](https://github.com/community-scripts/ProxmoxVE/commit/45b069b5d48c1689d637c5abd0c8061ab7781b93) Update turnkey.sh - [`28c77ba`](https://github.com/community-scripts/ProxmoxVE/commit/28c77ba03819d8959ecb276a41cbaa978b76c69b) Update turnkey.sh - [`f93401b`](https://github.com/community-scripts/ProxmoxVE/commit/f93401b6868b3a62df31fb88bdfc41c408417e54) Update turnkey.sh ### 📊 Changes **1 file changed** (+16 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `turnkey/turnkey.sh` (+16 -3) </details> ### 📄 Description Allow choosing container ID & add tun device access to the container if it is OpenVPN. Also notify user that the credentials are stored in a file on the host machine. <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description Allow choosing container ID and Hostname. Add tun device access to the container if it is OpenVPN. Also notify user that the credentials are stored in a file on the host machine. Also standardized the containers tag. This is to resolve the issue when installing OpenVPN where it did not have access to the tun device as it was created as an unprivileged container. Being able to control the container ID and Hostname may also be important in certain environments. Standardizing the tag to show the same tag as other script installed VM's. ## 🔗 Related PR / Issue Link: # ## ✅ Prerequisites (**X** in brackets) - [X] **Self-review completed** – Code follows project standards. - [X] **Tested thoroughly** – Changes work as expected. - [X] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [X] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [X] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 07:14:51 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#6087