diff options
Diffstat (limited to 'debvm-run')
-rwxr-xr-x | debvm-run | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -144,6 +144,10 @@ fi if test -n "$SSHPORT"; then NETDEV="$NETDEV,hostfwd=tcp:127.0.0.1:$SSHPORT-:22" fi +DNSSEARCH=$(dnsdomainname) +if test -n "$DNSSEARCH"; then + NETDEV="$NETDEV,dnssearch=$DNSSEARCH" +fi set -- \ -append "$KERNEL_CMDLINE" \ -netdev "$NETDEV" \ |