From f30d64aaf173bebda3fa95597287f0a8eb6a7955 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Wed, 5 Aug 2015 11:23:05 +0200 Subject: [PATCH] Feature #1727: Document adding extra attributes to disk and nic on onetemplate instantiate --- src/cli/one_helper.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/cli/one_helper.rb b/src/cli/one_helper.rb index c5d20f3295..b58fca598a 100644 --- a/src/cli/one_helper.rb +++ b/src/cli/one_helper.rb @@ -226,14 +226,20 @@ EOT :name => 'disk', :large => '--disk image0,image1', :description => "Disks to attach. To use an image owned by"<< - " other user use user[disk]", + " other user use user[disk]. Add any additional"<< + " attributes separated by ':' and in the shape of"<< + " KEY=VALUE. For example, if the disk must be"<< + " resized, use image0:size=1000 . Or"<< + " image0:size=1000:target=vda,image1:target=vdb", :format => Array }, { :name => 'nic', :large => '--nic network0,network1', :description => "Networks to attach. To use a network owned by"<< - " other user use user[network]", + " other user use user[network]. Additional"<< + " attributes are supported like with the --disk"<< + " option.", :format => Array }, {