Merge pull request #37216 from teto/qemu_comma_fix

qemu-vm: passing QEMU_NET_OPTS would fail
This commit is contained in:
Jörg Thalheim 2018-03-18 10:17:50 +00:00 committed by GitHub
commit ac9818fa70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,7 +320,7 @@ in
mkOption {
default = [
"-net nic,netdev=user.0,model=virtio"
"-netdev user,id=user.0,\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
"-netdev user,id=user.0\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
];
type = types.listOf types.str;
description = ''