aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2026-05-16add support for IPv4 via IPv6 nexthopHEADmasterAsbjørn Sloth Tønnesen
This is common with BGP (RFC 8950), but the underlying principle is will soon have it's own RFC. Example: (guest VM) ip addr add 192.0.2.42/32 dev lo ip route add proto static 0.0.0.0/0 via inet6 2001:db8:1337::1 RFC 8950: Advertising IPv4 NLRI with an IPv6 Next Hop https://www.rfc-editor.org/rfc/rfc8950 draft-ietf-intarea-v4-via-v6: IPv4 routes with an IPv6 next hop https://datatracker.ietf.org/doc/draft-ietf-intarea-v4-via-v6/ Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2026-05-16fix shellcheck issuesAsbjørn Sloth Tønnesen
Fix issues reported by shellcheck v0.11.0 Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2025-08-21fix shellcheck issuesAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2025-08-21make test more verboseAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2025-08-21fixup shell syntaxAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2024-12-07Exit nicely, even if a VM doesn't have <routed-subnet>Asbjørn Sloth Tønnesen
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>
2024-12-07cleanup get_config()Asbjørn Sloth Tønnesen
No functional change intended.
2023-08-06initial commitAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2020-06-17root commitAsbjørn Sloth Tønnesen