Skip to content

Commit 1713128

Browse files
author
Ihar Hrachyshka
committed
nat64_router.sh: don't fail when libvirt domain is started
For what I see, virt-install already starts the VM; when I then detach from it with `ctrl+]`, the script fails on `start` attempt, because the domain is already active. Perhaps this `start` is not needed at all? But at the very least, the make target shouldn't fail because of it.
1 parent 88f3fb2 commit 1713128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devsetup/scripts/ipv6-nat64/nat64_router.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ function create_nat64_vm {
321321
popd
322322

323323
echo "NAT64 router instance ${NAT64_INSTANCE_NAME} created"
324-
${VIRSH_CMD} start ${NAT64_INSTANCE_NAME}
324+
${VIRSH_CMD} start ${NAT64_INSTANCE_NAME} || true
325325
}
326326

327327
function cleanup_nat64_vm {

0 commit comments

Comments
 (0)