mirror of
https://github.com/apache/cloudstack
synced 2026-08-28 00:29:39 +00:00
Try to workaround "ip route add" fail in redundant router
It's probably due to the network is not ready, so wait some time for it.
This commit is contained in:
parent
9f94a178d6
commit
49709d716a
@ -3,5 +3,7 @@
|
||||
ifconfig eth2 down && \
|
||||
ifconfig eth2 hw ether [ETH2MAC] && \
|
||||
ifconfig eth2 up && \
|
||||
sleep 3 && \
|
||||
ip route add 0/0 via [GATEWAY] && \
|
||||
sleep 3 && \
|
||||
service dnsmasq restart
|
||||
|
||||
Loading…
Reference in New Issue
Block a user