[GH-ISSUE #389] Feature-Request: Hostname in Network-Config and VM-Config #292

Open
opened 2026-02-27 16:38:45 +03:00 by kerem · 1 comment
Owner

Originally created by @dennobaby on GitHub (Aug 22, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/389

Hi,

it would be nice to have the ability to modify or set the hostname for a VM in the network-Config-Section or (better) also in the VM-Configuration.
My network-xml-configs looks like this one:

<network>
  <name>default</name>
  <uuid>22a9bfd6-4f7c-4d5b-9b78-01b16a187282</uuid>
  <domain name="virtServer1"/>
  <forward dev='eth0' mode='route'>
    <interface dev='eth0'/>
  </forward>
  <bridge name='virbr0' stp='on' delay='0' />
  <mac address='AC:DE:00:00:00:FE'/>
  <ip address='10.4.2.254' netmask='255.255.255.0'>
  <dns>
    <txt name="virtServer1" value="virtServer1" />
    <host ip='10.4.2.1'>
      <hostname>BuildSlave1</hostname>
    </host>
    <host ip='10.4.2.2'>
      <hostname>CentOSSlave1</hostname>
    </host>
[...]

Would be nice to set these Hostnames over webvirtmgr from vm-config...

Originally created by @dennobaby on GitHub (Aug 22, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/389 Hi, it would be nice to have the ability to modify or set the hostname for a VM in the network-Config-Section or (better) also in the VM-Configuration. My network-xml-configs looks like this one: ``` <network> <name>default</name> <uuid>22a9bfd6-4f7c-4d5b-9b78-01b16a187282</uuid> <domain name="virtServer1"/> <forward dev='eth0' mode='route'> <interface dev='eth0'/> </forward> <bridge name='virbr0' stp='on' delay='0' /> <mac address='AC:DE:00:00:00:FE'/> <ip address='10.4.2.254' netmask='255.255.255.0'> <dns> <txt name="virtServer1" value="virtServer1" /> <host ip='10.4.2.1'> <hostname>BuildSlave1</hostname> </host> <host ip='10.4.2.2'> <hostname>CentOSSlave1</hostname> </host> [...] ``` Would be nice to set these Hostnames over webvirtmgr from vm-config...
Author
Owner

@generalmanager commented on GitHub (Sep 19, 2014):

+1

<!-- gh-comment-id:56214232 --> @generalmanager commented on GitHub (Sep 19, 2014): +1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#292
No description provided.