diff --git a/src/im_mad/im_exec/one_im_exec.rb b/src/im_mad/im_exec/one_im_exec.rb index 4346d29b1e..2d14ba2767 100755 --- a/src/im_mad/im_exec/one_im_exec.rb +++ b/src/im_mad/im_exec/one_im_exec.rb @@ -76,7 +76,7 @@ end opts = GetoptLong.new( [ '--retries', '-r', GetoptLong::OPTIONAL_ARGUMENT ], [ '--threads', '-t', GetoptLong::OPTIONAL_ARGUMENT ], - [ '--local', '-l', GetoptLong::REQUIRED_ARGUMENT ] + [ '--local', '-l', GetoptLong::NO_ARGUMENT ] ) hypervisor = '' @@ -92,7 +92,7 @@ begin when '--threads' threads = arg.to_i when '--local' - local_actions=OpenNebulaDriver.parse_actions_list(arg) + local_actions={ 'MONITOR' => nil } end end rescue Exception => e