Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
Jess Frazelle 2019-12-03 09:20:28 -08:00
parent 91b8a5957f
commit 9e838e0f74
No known key found for this signature in database
GPG Key ID: E34EC3D4E4953C4A

View File

@ -14,11 +14,11 @@ bridge link
ip addr add dev virt0 172.20.0.1/16 ip addr add dev virt0 172.20.0.1/16
iptables -t nat -A POSTROUTING -s 172.20.0.1/16 -j MASQUERADE iptables -t nat -A POSTROUTING -s 172.20.0.1/16 -j MASQUERADE
# start the default networking
virsh net-start default
# start the virtlogd daemon # start the virtlogd daemon
exec virtlogd --daemon & exec virtlogd --daemon &
# start the default networking
virsh net-start default || true
# shellcheck disable=SC2068 # shellcheck disable=SC2068
exec $@ exec $@