-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bitnami Moodle 4.3] Static IP failure #1403
Comments
Could you explain what you mean with temporarily? Does it revert after reboot after restarting systemd-networkd.service? |
It reverts after a reboot
…________________________________
From: Michiel ***@***.***>
Sent: Wednesday, February 21, 2024 9:21:52 PM
To: bitnami/vms ***@***.***>
Cc: martinjp84 ***@***.***>; Author ***@***.***>
Subject: Re: [bitnami/vms] [Bitnami Moodle 4.3] Static IP failure (Issue #1403)
Could you explain what you mean with temporarily? Does it revert after reboot after restarting systemd-networkd.service?
—
Reply to this email directly, view it on GitHub<#1403 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB7ZMYXCWG5SAQDR4URI4SDYUYULBAVCNFSM6AAAAABDEIZM3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJXGM3TQOJTGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Editing /etc/systemd/network/25-wired.network and matching either the interface name or alt name fails to keep the static IP after a system reboot. Static IP is always applied after restarting systemd-networkd.service. File in /etc/network/interfaces.d called '50-cloud-init' is taking priority, editing this file with the below contents will allow a static IP but it will not update the welcome screen section 'You can access the application at http://ip-address', the IP here will remain the same as before. 50-cloud-init file config for static IP. Note that 'ens3' should be replaced with the real interface name or alt name. The loopback network interfaceauto lo The primary network interfaceauto ens3 |
Disabling cloud-init by creating a file at - /etc/cloud/cloud.cfg.d/99-custom-networking.cfg and containing 'network: {config: disabled}' does not revert the control back to /etc/systemd/network. Editing /etc/network/interfaces or /etc/network/interfaces.d/ (latter takes priority), seems to be the current solution |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Platform
Virtual Machine
bndiagnostic ID know more about bndiagnostic ID
Nope
bndiagnostic output
No response
bndiagnostic was not useful. Could you please tell us why?
Not related
Describe your issue as much as you can
Instructions for static IP are incorrect for latest debian 5.10/moodle 4.3 version.
https://docs.bitnami.com/virtual-machine/faq/configuration/configure-static-address/
Address reverts to DHCP during reboot. Restarting systemd-networkd.service resolves it temporarily.
The text was updated successfully, but these errors were encountered: