1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

fix LANG=C

This commit is contained in:
Cherdancev Evgeni 2015-05-19 20:32:09 +06:00
parent df4cbea89b
commit d880cc6c6b

View File

@ -26,7 +26,9 @@ end
# TODO : use virsh freecell when available
######
nodeinfo_text = `LANG=C virsh -c qemu:///system nodeinfo`
ENV['LANG'] = 'C'
nodeinfo_text = `virsh -c qemu:///system nodeinfo`
exit(-1) if $?.exitstatus != 0
nodeinfo_text.split(/\n/).each{|line|