diff options
author | Helmut Grohne <helmut@subdivi.de> | 2022-12-23 07:47:16 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2022-12-23 07:47:16 +0100 |
commit | fa29c199e7dfda1cc9c93f6948e8d9688c345d64 (patch) | |
tree | ad1699aeafeb8a650864c30479369f13077ddf08 /debvm-run | |
parent | 04cc838b9e2ec01e5a6beed90f749f390c458441 (diff) | |
download | debvm-fa29c199e7dfda1cc9c93f6948e8d9688c345d64.tar.gz |
debvm-run: change dhcp option for dns search
systemd on Debian stretch does not yet understand dnssearch aka dhcp
option 119 and ignores it. Instead we pass it as domain name aka dhcp
option 15. This option can only specify one name, which is what we do
already. Beyond extending the search list, it may also affect the fqdn
of the VM, but this shouldn't hurt.
Diffstat (limited to 'debvm-run')
-rwxr-xr-x | debvm-run | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,7 +146,7 @@ if test -n "$SSHPORT"; then fi DNSSEARCH=$(dnsdomainname) if test -n "$DNSSEARCH"; then - NETDEV="$NETDEV,dnssearch=$DNSSEARCH" + NETDEV="$NETDEV,domainname=$DNSSEARCH" fi set -- \ -append "$KERNEL_CMDLINE" \ |