Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228506

Virt-install setting hostname as extra args not working

From john doe <johndoe65534@mail.com>
Newsgroups linux.debian.user
Subject Virt-install setting hostname as extra args not working
Date 2020-11-06 19:40 +0100
Message-ID <B8eOu-5lV-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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?

--
John Doe

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Virt-install setting hostname as extra args not working john doe <johndoe65534@mail.com> - 2020-11-06 19:40 +0100
  Re: Virt-install setting hostname as extra args not working didier gaumet <didier.gaumet@gmail.com> - 2020-11-06 20:50 +0100
    Re: Virt-install setting hostname as extra args not working john doe <johndoe65534@mail.com> - 2020-11-09 08:50 +0100

csiph-web