Add timeout for static uplink script

Change-Id: I041468c033100a97c8d146a685d7817f178d4961
This commit is contained in:
Alejandro Andreu 2017-03-16 00:05:34 +01:00
parent 5dda1b954f
commit ac4a55bda0
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}/${uplink_script} 2>&1 | tee ${scripts_dir}/${uplink_script}.out",
returns => ['0', '7'],
timeout => 1800,
require => [
File['fake_uplink_script'],
]