X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=getconf.py;h=32641fb7c45965a9f4ca1223783acba34356b53a;hb=d8c4f261680cbc9cb2708cf12d97202716120dc7;hp=1f84674be0c3e50cb54aa943eecf34edaec17467;hpb=90b2e8e7cb145cb1f6b3780867617084441b6ca9;p=monitor.git diff --git a/getconf.py b/getconf.py index 1f84674..32641fb 100755 --- a/getconf.py +++ b/getconf.py @@ -15,6 +15,7 @@ def getconf(hostname, force=False, media=None): f.write( api.AdmGenerateNodeConfFile(n[0]['node_id']) ) f.close() print os.system("cd bootcd; ./build.sh -f %s.txt -t iso -o /plc/data/var/www/html/bootcds/%s.iso &> /dev/null" % ( hostname, hostname)) + print "cd bootcd; ./build.sh -f %s.txt -t usb_partition -o /plc/data/var/www/html/bootcds/%s-partition.usb &> /dev/null" % ( hostname, hostname) print os.system("cd bootcd; ./build.sh -f %s.txt -t usb_partition -o /plc/data/var/www/html/bootcds/%s-partition.usb &> /dev/null" % ( hostname, hostname)) else: # assume that the images have already been generated..