1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-17 02:03:40 +03:00

bug #343: Added "persistent" info to oneimage show

This commit is contained in:
Javi Fontan 2010-09-09 16:47:13 +02:00
parent 311eefcb35
commit fd899f2a06

View File

@ -476,7 +476,11 @@ when "show"
else
public_str = "No"
end
puts str % ["PUBLIC", public_str]
puts str % ["PUBLIC", public_str]
persistent_str=(image["PERSISTENT"].to_i==1 ? "Yes" : "No")
puts str % ["PERSISTENT", persistent_str]
puts str % ["SOURCE", image['SOURCE']]
puts str % ["STATE", image.short_state_str]
puts str % ["RUNNING_VMS", image['RUNNING_VMS']]