mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8863: VM doesn't reconnect to internet post VR RESTART/STOP-START/RECREATE
This commit is contained in:
parent
6e426fa46d
commit
56d4429500
|
|
@ -93,4 +93,15 @@ done < $cfg
|
|||
#remove the configuration file, log file should have all the records as well
|
||||
rm -f $cfg
|
||||
|
||||
# Flush kernel conntrack table
|
||||
log_it "VR config: Flushing conntrack table"
|
||||
conntrackd -d 2> /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
conntrackd -F
|
||||
conntrackd -k
|
||||
else
|
||||
conntrackd -F
|
||||
fi
|
||||
log_it "VR config: Flushing conntrack table completed"
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue