Skip to content
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

Closed
martinjp84 opened this issue Feb 12, 2024 · 6 comments
Closed

[Bitnami Moodle 4.3] Static IP failure #1403

martinjp84 opened this issue Feb 12, 2024 · 6 comments
Assignees
Labels
solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@martinjp84
Copy link

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.

@martinjp84 martinjp84 added the tech-issues The user has a technical issue about an application label Feb 12, 2024
@github-actions github-actions bot added the triage Triage is needed label Feb 12, 2024
@mdhont
Copy link

mdhont commented Feb 21, 2024

Could you explain what you mean with temporarily? Does it revert after reboot after restarting systemd-networkd.service?

@martinjp84
Copy link
Author

martinjp84 commented Feb 21, 2024 via email

@martinjp84
Copy link
Author

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 interface

auto lo
iface lo inet loopback

The primary network interface

auto ens3
iface ens3 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.254

@martinjp84
Copy link
Author

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

Copy link

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.

@github-actions github-actions bot added the stale 15 days without activity label Mar 16, 2024
Copy link

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.

@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

3 participants