Revision 24b3b9d6 src/vmm_mad/exec/one_vmm_exec.rb
src/vmm_mad/exec/one_vmm_exec.rb | ||
---|---|---|
1063 | 1063 |
[ '--threads', '-t', GetoptLong::OPTIONAL_ARGUMENT ], |
1064 | 1064 |
[ '--local', '-l', GetoptLong::REQUIRED_ARGUMENT ], |
1065 | 1065 |
[ '--shell', '-s', GetoptLong::REQUIRED_ARGUMENT ], |
1066 |
[ '--parallel', '-p', GetoptLong::NO_ARGUMENT ] |
|
1066 |
[ '--parallel', '-p', GetoptLong::NO_ARGUMENT ], |
|
1067 |
[ '--timeout', '-w', GetoptLong::OPTIONAL_ARGUMENT ] |
|
1067 | 1068 |
) |
1068 | 1069 |
|
1069 | 1070 |
hypervisor = '' |
... | ... | |
1072 | 1073 |
shell = 'bash' |
1073 | 1074 |
local_actions = {} |
1074 | 1075 |
single_host = true |
1076 |
timeout = nil |
|
1075 | 1077 |
|
1076 | 1078 |
begin |
1077 | 1079 |
opts.each do |opt, arg| |
... | ... | |
1086 | 1088 |
shell = arg |
1087 | 1089 |
when '--parallel' |
1088 | 1090 |
single_host = false |
1091 |
when '--timeout' |
|
1092 |
timeout = arg |
|
1089 | 1093 |
end |
1090 | 1094 |
end |
1091 | 1095 |
rescue Exception => e |
... | ... | |
1103 | 1107 |
:retries => retries, |
1104 | 1108 |
:local_actions => local_actions, |
1105 | 1109 |
:shell => shell, |
1106 |
:single_host => single_host) |
|
1110 |
:single_host => single_host, |
|
1111 |
:timeout => timeout) |
|
1107 | 1112 |
|
1108 | 1113 |
exec_driver.start_driver |
Also available in: Unified diff