methods/in_common.rb
# Check we are running on the right architecture
Check we are running on the right architecture
Check we are running on the right architecture
def check_same_arch(options)
  if not options['host-os-arch'].to_s.match(/#{options['arch']}/)
    handle_output(options,"Warning:\tSystem and Zone Architecture do not match")
    quit(options)
  end
  return
end
def check_same_arch ( options ) if not options [ 'host-os-arch' ] . to_s . match ( / #{ options [ 'arch' ] } / ) handle_output ( options , "Warning:\tSystem and Zone Architecture do not match" ) quit ( options ) end return end
Check we are running on the right architecture
Check we are running on the right architecture
options
<not_specific>