diff options
Diffstat (limited to 'qemu')
-rwxr-xr-x | qemu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,9 +49,9 @@ get_address_family(){ [ -z "${1##*:*}" ] && echo ipv6 || echo ipv4; } get_config(){ local configfile="$1" - local tag = 'routed-subnet' + local tag='routed-subnet' local ns='https://2e8.dk/libvirt-routed-subnet' - local query = "//*[local-name()='$tag' and namespace-uri()='$ns']" + local query="//*[local-name()='$tag' and namespace-uri()='$ns']" fullxml="$(cat "$configfile")" routingxml="$(xpath "$query" "$fullxml" || true)" if [ -z "$routingxml" ] ; then |