mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
fix kvm
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
parent
91b8a5957f
commit
9e838e0f74
|
@ -14,11 +14,11 @@ bridge link
|
|||
ip addr add dev virt0 172.20.0.1/16
|
||||
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
|
||||
exec virtlogd --daemon &
|
||||
|
||||
# start the default networking
|
||||
virsh net-start default || true
|
||||
|
||||
# shellcheck disable=SC2068
|
||||
exec $@
|
||||
|
|
Loading…
Reference in New Issue
Block a user