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:
parent
df4cbea89b
commit
d880cc6c6b
@ -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|
|
||||
|
Loading…
x
Reference in New Issue
Block a user