Re: Set hostname of guest during installation time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27. 3. 2020 14:57, john doe wrote:
> Hi,
> 
> I would like to set the hostname when installing a guest, with the below
> command the hostname is not set to 'try06' in the guest:
> 
> virt-install --name=try06 --graphic none --pxe --network bridge=virbr0

This is the name of the guest registered in libvirt. I don't think that
virt-install has wired up setting hostname, but it looks like it can do
it. I mean, use --name for both libvirt name and guest hostname.

Michal




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux