ip adress of LXC containter not updating in console after reboot #355

Closed
opened 2026-02-04 18:10:17 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @JensjJ8200 on GitHub (Jan 21, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Zigbee2MQTT, MQTT

📂 What was the exact command used to execute the script?

not appicable.

📝 Provide a clear and concise description of the issue.

When using the console on Proxmos, the script has made som information about the LXC container, whitch includes the IP adress of the container. But it's the IP adress of the container, when the container was made (see attached screenshot). But the information is not updatet if i assign a static IP adress in my DNS (e.g. 10.204.20.10), and then reboot the container. The container is on the right static IP (in this instance 10.204.20.19), but the information in the console is not updated after the reboot, it still shows the IP that the container had, when it was created.

Image

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

run the scripts. Log into console. See the IP adresse. Give the container a static IP in the DNS and reboot the container, so the container will apply the static IP.

Paste the full error output (if available).

not avaliable.

🖼️ Additional context (optional).

No response

Originally created by @JensjJ8200 on GitHub (Jan 21, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Zigbee2MQTT, MQTT ### 📂 What was the exact command used to execute the script? not appicable. ### 📝 Provide a clear and concise description of the issue. When using the console on Proxmos, the script has made som information about the LXC container, whitch includes the IP adress of the container. But it's the IP adress of the container, when the container was made (see attached screenshot). But the information is not updatet if i assign a static IP adress in my DNS (e.g. 10.204.20.10), and then reboot the container. The container is on the right static IP (in this instance 10.204.20.19), but the information in the console is not updated after the reboot, it still shows the IP that the container had, when it was created. <img width="977" alt="Image" src="https://github.com/user-attachments/assets/72df34f2-8ca9-41af-9cd9-361fb7fd59ac" /> ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. run the scripts. Log into console. See the IP adresse. Give the container a static IP in the DNS and reboot the container, so the container will apply the static IP. ### ❌ Paste the full error output (if available). not avaliable. ### 🖼️ Additional context (optional). _No response_
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 21, 2025):

edit /etc/motd to change the ip there. There is no automatic way atm.

@michelroegl-brunner commented on GitHub (Jan 21, 2025): edit /etc/motd to change the ip there. There is no automatic way atm.
Author
Owner

@MickLesk commented on GitHub (Jan 21, 2025):

@JcMinarro have you an idea? its merged with profile.d ?

https://github.com/community-scripts/ProxmoxVE/pull/1216

@MickLesk commented on GitHub (Jan 21, 2025): @JcMinarro have you an idea? its merged with profile.d ? https://github.com/community-scripts/ProxmoxVE/pull/1216
Author
Owner

@MickLesk commented on GitHub (Jan 21, 2025):

nevermind, forgot to merge from PR.

@MickLesk commented on GitHub (Jan 21, 2025): nevermind, forgot to merge from PR.
Author
Owner

@MickLesk commented on GitHub (Jan 21, 2025):

try again with the "update" statement or something else

@MickLesk commented on GitHub (Jan 21, 2025): try again with the "update" statement or something else
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#355