Add timeout for static uplink script

Change-Id: I041468c033100a97c8d146a685d7817f178d4961
(cherry picked from commit ac4a55bda0)
This commit is contained in:
Alejandro Andreu 2017-03-16 00:05:34 +01:00
parent cbae0e2b3a
commit 27daa6da16
1 changed files with 1 additions and 0 deletions

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'],
]