]> xenbits.xensource.com Git - osstest.git/commit
ts-debian-*-install: Replace dots in hostnames by dashs
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 27 Oct 2023 17:03:15 +0000 (18:03 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Thu, 28 Mar 2024 16:51:52 +0000 (16:51 +0000)
commitb26dd9b3f361075f15fc688612b78153fbd0d03b
tree918e5e509f8af6cfa31915ef7a5a1a1a4e76ff7b
parent7c0927f8cc0b489ada9596274407cf6081462918
ts-debian-*-install: Replace dots in hostnames by dashs

When running ./ts-debian-di-install, hostname on the command line is
interpreted by the debian installer. As the installer find it to be a
FQDN, it uses part of the hostname as the domain, thus overwriting the
value from the DHCP and from d-i netcfg/get_domain setting (maybe).

But the result is that /etc/resolv.conf contains "search
bookworm.guest.osstest" and can't find an IP for "cache". So the
installation fails.

Also replace ".guest.osstest" in a few other places, even if it
may not be an issue.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
ts-debian-di-install
ts-debian-hvm-install
ts-debian-install