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

Virt-install setting hostname as extra args not working



Debians,

I'm trying to install debian buster using libvirt, this works well
withthe the exception of being able to set the hostname in the guest.


virt-install --debug --name=try05 --ram=1024 --noreboot
--disk=path=/var/lib/machines/try/try05,size=6 --graphic none
--os-variant=debian10 --boot menu=on,useserial=on --network
bridge=br0,mac=RANDOM --location
https://deb.debian.org/debian/dists/stable/main/installer-amd64/
--extra-args "console=ttyS0,115200n8 DEBIAN_FRONTEND=text auto=true
priority=critical hostname=try05 url=tftp://tftpserver";


After installation, the hostname (try05) is not defined in the guest.

What am I missing?


P.S.

I have already posted this to the debian-user list but to no avail.
So I'm hoping that someone will be able to help me out in hear.

--
John Doe


Reply to: