Project

General

Profile

Actions

Bug #31556

open

Switch hostname between NIC and Virtual NIC

Added by Danie de Jager over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I found that I get a "has already been taken" error every time I want to update the interface DNS Name from the Virtual NIC to the Primary NIC.

It seems that the logic check fails because it sees I am using a hostname that is already used but it does not consider that I've removed that hostname from the Virtual NIC where it was used previously.


Files

foreman1.png View foreman1.png 41.1 KB Danie de Jager, 12/28/2020 12:32 PM
foreman0.png View foreman0.png 40.5 KB Danie de Jager, 12/28/2020 12:33 PM
Actions #3

Updated by Danie de Jager over 3 years ago

Danie de Jager wrote:

I found that I get a "has already been taken" error every time I want to update the interface DNS Name from the Virtual NIC to the Primary NIC.

It seems that the logic check fails because it sees I am using a hostname that is already used but it does not consider that I've removed that hostname from the Virtual NIC where it was used previously.

Starting with hostname = host

1. Set new hostname to host1 for the NIC so I can assign the Virtual NIC with the correct hostname.
2. Apply change
3. Set Correct hostname to host to the Virtual NIC and make the interface the primary.
4. Apply change
5. Remove hostname host1 from the NIC to set hostname of NIC to NULL
6. Cannot apply the change but no reason / error is given.

Actions

Also available in: Atom PDF