mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-11 22:21:31 +00:00
Without this patch, logged command executions can be ambiguous if the command contained any shell metacharacters. This has caused more than one person to attempt to patch clients to add unnecessary quoting, without realizing that the command itself was run with correct args, and only the logged output was ambiguous. * src/util/command.c (virCommandToString): Add shell escapes. * tests/commandtest.c (test16): Test new behavior. * tests/commanddata/test16.log: Update expected output. * tests/qemuxml2argvdata/qemuxml2argv-*.args: Likewise. * tests/networkxml2argvdata/*.argv: Likewise.
11 lines
543 B
Plaintext
11 lines
543 B
Plaintext
@DNSMASQ@ --strict-order --bind-interfaces \
|
|
--local=// --domain-needed --filterwin2k --conf-file= \
|
|
--except-interface lo '--txt-record=example,example value' \
|
|
--listen-address 192.168.122.1 --listen-address 192.168.123.1 \
|
|
--listen-address 2001:db8:ac10:fe01::1 \
|
|
--listen-address 2001:db8:ac10:fd01::1 --listen-address 10.24.10.1 \
|
|
--dhcp-range 192.168.122.2,192.168.122.254 \
|
|
--dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases \
|
|
--dhcp-lease-max=253 --dhcp-no-override \
|
|
--dhcp-hostsfile=/var/lib/libvirt/dnsmasq/default.hostsfile\
|