summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/debvm-create4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/debvm-create b/bin/debvm-create
index 981b450..d4a291b 100755
--- a/bin/debvm-create
+++ b/bin/debvm-create
@@ -254,9 +254,7 @@ if test -n "$SSHKEY"; then
fi
# add a DNS resolver
-if test "$DEBVER" -ge 9; then
- INCLUDE_PACKAGES="$INCLUDE_PACKAGES,libnss-resolve"
-fi
+INCLUDE_PACKAGES="$INCLUDE_PACKAGES,?exact-name(libnss-resolve)"
set -- "--customize-hook=$SHARE_DIR/customize-resolved.sh" "$@"
# construct mmdebstrap options as $@: