Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #228506 > unrolled thread
| Started by | john doe <johndoe65534@mail.com> |
|---|---|
| First post | 2020-11-06 19:40 +0100 |
| Last post | 2020-11-09 08:50 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.user
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
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Date | 2020-11-06 19:40 +0100 |
| Subject | Virt-install setting hostname as extra args not working |
| Message-ID | <B8eOu-5lV-3@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | didier gaumet <didier.gaumet@gmail.com> |
|---|---|
| Date | 2020-11-06 20:50 +0100 |
| Message-ID | <B8fUd-5YY-3@gated-at.bofh.it> |
| In reply to | #228506 |
Hello, I would say that you are thus probably setting the hostname of the installer itself instead of the hostname of the final guest machine. Perhaps replacing hostname=try05 by d-i:hostname=try05 or d-i:netcfg/get_hostname=try05 would be better cf https://www.debian.org/releases/buster/amd64/apbs02.en.html#preseed-bootparms
[toc] | [prev] | [next] | [standalone]
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Date | 2020-11-09 08:50 +0100 |
| Message-ID | <B9a66-6JM-1@gated-at.bofh.it> |
| In reply to | #228507 |
On 11/6/2020 8:24 PM, didier gaumet wrote: > > Hello, > > I would say that you are thus probably setting the hostname of the installer itself instead of the hostname of the final guest machine. > Perhaps replacing hostname=try05 by d-i:hostname=try05 or d-i:netcfg/get_hostname=try05 would be better > > cf https://www.debian.org/releases/buster/amd64/apbs02.en.html#preseed-bootparms > Thank you for this. It is still not working, I'll see if I get more luck on the debian-boot mailing list. Thanks for your help. -- John Doe
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web