[PR #1633] [MERGED] Update MOTD: Add Dynamic IP with profile.d by @JcMinarro #3127

Closed
opened 2025-11-20 05:33:34 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/1633
Author: @MickLesk
Created: 1/21/2025
Status: Merged
Merged: 1/21/2025
Merged by: @MickLesk

Base: mainHead: motd


📝 Commits (1)

  • 8779100 update motd file to dynamic ip

📊 Changes

2 files changed (+18 additions, -28 deletions)

View changed files

📝 misc/alpine-install.func (+10 -11)
📝 misc/install.func (+8 -17)

📄 Description

✍️ Description

Instead of hardcode data within the /etc/motd file, adding a script on /etc/profile.d/ to load dynamic values as the IP and/or the hostname of the LXC



Prerequisites

The following steps must be completed for the pull request to be considered:

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • Testing performed (I have thoroughly tested my changes and verified expected functionality.)

🛠️ Type of Change

Please check the relevant options:

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • [] Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • [] New script (a fully functional and thoroughly tested script or set of scripts)

🔄 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/1633 **Author:** [@MickLesk](https://github.com/MickLesk) **Created:** 1/21/2025 **Status:** ✅ Merged **Merged:** 1/21/2025 **Merged by:** [@MickLesk](https://github.com/MickLesk) **Base:** `main` ← **Head:** `motd` --- ### 📝 Commits (1) - [`8779100`](https://github.com/community-scripts/ProxmoxVE/commit/87791006f9f01652d8fe1e6ddb6c36b39facffe7) update motd file to dynamic ip ### 📊 Changes **2 files changed** (+18 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `misc/alpine-install.func` (+10 -11) 📝 `misc/install.func` (+8 -17) </details> ### 📄 Description ## ✍️ Description Instead of hardcode data within the /etc/motd file, adding a script on /etc/profile.d/ to load dynamic values as the IP and/or the hostname of the LXC - - - - Related Issue: #1632 - Related PR: #1216 - Related Discussion: # - - - ## ✅ Prerequisites The following steps must be completed for the pull request to be considered: - [x] Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.) - [x] Testing performed (I have thoroughly tested my changes and verified expected functionality.) ## 🛠️ Type of Change Please check the relevant options: - [x] Bug fix (non-breaking change that resolves an issue) - [x] New feature (non-breaking change that adds functionality) - [] Breaking change (fix or feature that would cause existing functionality to change unexpectedly) - [] New script (a fully functional and thoroughly tested script or set of scripts) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 05:33:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#3127