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:
parent
311eefcb35
commit
fd899f2a06
@ -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']]
|
||||
|
Loading…
x
Reference in New Issue
Block a user