Skip to content

Conversation

@benjamreis
Copy link
Contributor

Signed-off-by: BenjiReis [email protected]

@stormi
Copy link
Contributor

stormi commented Jun 24, 2021

Please update the commit message with an explanation of why this was needed and what you changed.

Quoting https://www.freecodecamp.org/news/writing-good-commit-messages-a-practical-guide/

  • Use the body to explain what changes you have made and why you made them.
  • Do not assume the reviewer understands what the original problem was, ensure you add it.
  • Do not think your code is self-explanatory

Instead of directly editing `/etc/resolv.conf`, use XAPI to edit it.
This fixes an issue where the changes weren't retained after a reboot because XAPI
would override the changes with what was stored in its DB. Using XAPI to edit the DNS entries
also applies the changes in XAPI's DB and so changes are kept after reboots.

Signed-off-by: BenjiReis <[email protected]>
@benjamreis benjamreis force-pushed the fix-DNS-storage-entries-by-xsconsole branch from 20c038e to a14ee37 Compare June 24, 2021 10:13
@idruzhinin
Copy link
Collaborator

is #4 a pre-requisite for this change? Is there any particular order we should merge those?

@idruzhinin idruzhinin self-requested a review June 24, 2021 22:19
@benjamreis
Copy link
Contributor Author

Hi! No, no particular order, all PRs are independent :)

@idruzhinin idruzhinin merged commit 5a623bc into xapi-project:master Jun 25, 2021
@benjamreis benjamreis deleted the fix-DNS-storage-entries-by-xsconsole branch May 4, 2022 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants