]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Add documentation for heat jeos_create function
authorSteven Dake <sdake@redhat.com>
Thu, 5 Apr 2012 18:42:36 +0000 (11:42 -0700)
committerSteven Dake <sdake@redhat.com>
Thu, 5 Apr 2012 18:43:59 +0000 (11:43 -0700)
Partially Fixes issue #58

Signed-off-by: Steven Dake <sdake@redhat.com>
bin/heat

index b5e4dc36daa9d1793237f430cf2b42d608b7e668..83b4e008723ca0ddf91ed01d82d5ddf1c6d0d978 100755 (executable)
--- a/bin/heat
+++ b/bin/heat
@@ -214,6 +214,17 @@ def stack_list(options, arguments):
 @catch_error('jeos_create')
 def jeos_create(options, arguments):
     '''
+    The jeos_create option must be run as root.  This command takes three
+    arguments that are popped from the arguments parameter.
+    arg0 -> Distribution such as 'F16', 'F17', 'U10', 'D6'
+    arg1 -> Architecture such as 'i386' 'i686' or 'x86_64'
+    arg2 -> Image type such as 'gold' or 'cftools'
+
+    gold is a basic gold JEOS
+    cftools contains the cfntools helper scripts
+
+    The command must be run as root in order for libvirt to have permissions
+    to create virtual machines and read the raw DVDs.
     '''
     global jeos_path