Add timeout for static uplink script

Change-Id: I041468c033100a97c8d146a685d7817f178d4961
(cherry picked from commit ac4a55bda0a7159cb2fef116abbcf7d601cd5dbe)
This commit is contained in:
Alejandro Andreu 2017-03-16 00:05:34 +01:00
parent 558f9bf411
commit 6320ecf1b3

View File

@ -107,6 +107,7 @@ class midonet::gateway::static (
exec { 'run gateway static creation script':
command => "/bin/bash -x ${scripts_dir}/create_fake_uplink_l2.sh 2>&1 | tee /tmp/bash.out",
returns => ['0', '7'],
timeout => 1800,
require => [
File['fake_uplink_script'],
]