aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@2e8.dk>2024-12-07 23:13:44 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2024-12-07 23:36:48 +0000
commitbe37ac1a83aabe85ccd09b7540c884a0a8e85802 (patch)
tree95e8ca69e76c2f0212379cf23b16b7a3f198e2fd /README.md
parent29d431a36f3be34e81775c688ca71db297aa8c4e (diff)
downloadlibvirt-routed-subnet-be37ac1a83aabe85ccd09b7540c884a0a8e85802.tar.gz
libvirt-routed-subnet-be37ac1a83aabe85ccd09b7540c884a0a8e85802.tar.xz
libvirt-routed-subnet-be37ac1a83aabe85ccd09b7540c884a0a8e85802.zip
Exit nicely, even if a VM doesn't have <routed-subnet>HEADmaster
If there is no '<routed-subnet xmlns="...">' tag, then the xmllint call will fail, and since we are running with `set -e`, then it will terminate the script. Before a VM not using routed-subnet would cause the following error: error: Hook script execution failed: internal error: \ Child process (LC_ALL=C PATH=<...> /etc/libvirt/hooks/qemu <vm> \ prepare begin -) unexpected exit status 10 Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions