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

bug #342: added addattr alias to update in oneimage

This commit is contained in:
Javi Fontan 2010-09-08 19:22:09 +02:00
parent 61b7cf367b
commit c9e9b6b323

View File

@ -206,6 +206,9 @@ Commands:
template is a file name where the Image description is located
* addattr (Add a new image attribute)
oneimage addattr <image_id> <attribute_name> <attribute_value>
* update (Modifies an image attribute)
oneimage update <image_id> <attribute_name> <attribute_value>
@ -333,7 +336,7 @@ when "register", "create", "add"
end
when "update"
when "update", "addattr"
check_parameters("update", 3)
image_id=get_image_id(ARGV[0])