docs(networking.md): document the --rename option for interface-rename#409
Open
thomas-dkmt wants to merge 1 commit intoxcp-ng:masterfrom
Open
docs(networking.md): document the --rename option for interface-rename#409thomas-dkmt wants to merge 1 commit intoxcp-ng:masterfrom
thomas-dkmt wants to merge 1 commit intoxcp-ng:masterfrom
Conversation
Fohdeesha
approved these changes
Nov 12, 2025
Member
Fohdeesha
left a comment
There was a problem hiding this comment.
Looks good to me, I agree we should keep the existing command first and foremost, that's what I have always used on systems without issue. I think the issue the user was getting in the forum, "eth0: ERROR while getting interface flags: No such device", after using update, is because the host needs to be rebooted after making these changes. It should not be used with either commands without a reboot afterwords, as a ton of stuff is already going to be bound to the old names on a running system
Member
This PR should go further and properly explain what you can do with |
6ff9825 to
a4cc68e
Compare
This change is meant to prevent errors
when trying to get interface flags ('no such device').
Signed-off-by: Thomas Moraine <thomas.moraine@vates.tech>
a4cc68e to
8e41518
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the networking documentation to clarify that users can use the
--renameoption to modify network interface names on XCP-ng hosts.Previously, only the
--updateoption was documented, which caused confusion and sometimes prevented users from effectively renaming their NICs, as discussed on the XCP-ng forum.