summaryrefslogtreecommitdiff
path: root/bin/debvm-create
diff options
context:
space:
mode:
Diffstat (limited to 'bin/debvm-create')
-rwxr-xr-xbin/debvm-create4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/debvm-create b/bin/debvm-create
index 31e1e45..95305a9 100755
--- a/bin/debvm-create
+++ b/bin/debvm-create
@@ -231,7 +231,7 @@ case "$ARCHITECTURE" in
esac
if ! check_skip kernel; then
- set -- "--include=?or(?exact-name(linux-image-cloud-$KERNEL_ARCH),?exact-name(linux-image-$KERNEL_ARCH),?exact-name(linux-image-generic))" "$@"
+ set -- "--include=?not(?virtual)?or(?exact-name(linux-image-cloud-$KERNEL_ARCH),?exact-name(linux-image-$KERNEL_ARCH),?exact-name(linux-image-generic))" "$@"
fi
# construct mmdebstrap options as $@:
@@ -257,7 +257,7 @@ if ! check_skip systemdnetwork; then
# dhcp on all network interfaces, and add a dns resolver
set -- \
"--customize-hook=$SHARE_DIR/customize-networkd.sh" \
- '--include=?exact-name(libnss-resolve)' \
+ '--include=?not(?virtual)?exact-name(libnss-resolve)' \
"--customize-hook=$SHARE_DIR/customize-resolved.sh" \
"$@"
fi