]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix heat jeos_create F16 x86_64 litters files
authorSteven Dake <sdake@redhat.com>
Wed, 28 Mar 2012 00:02:27 +0000 (17:02 -0700)
committerSteven Dake <sdake@redhat.com>
Wed, 28 Mar 2012 00:03:10 +0000 (17:03 -0700)
Fixes Issue #41.

Output the file to /dev/null instead

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

index 894085d05c956c481e2311b3c0672ebfa0045129..20e362801dadaa7be3b2405f9286d00f40e6c824 100755 (executable)
--- a/bin/heat
+++ b/bin/heat
@@ -267,7 +267,7 @@ def jeos_create(options, arguments):
     if options.debug:
         extra_opts = ' -d 3 '
 
-    res = os.system("oz-install %s -t 50000 -u %s" % (extra_opts, tdl_path))
+    res = os.system("oz-install %s -t 50000 -u %s -x /dev/null" % (extra_opts, tdl_path))
     if res == 256:
         sys.exit(1)
     if not os.access(dsk_filename, os.R_OK):