X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=getconf.py;h=ad8f9a7191bdc1654aa528c7858958b0e75cb1f9;hb=38d434f7f399272701bf0d85fcb0f82ae3b44733;hp=32641fb7c45965a9f4ca1223783acba34356b53a;hpb=3f501b69f366b8b6c62d35d6aea4ebf5fa0f1192;p=monitor.git diff --git a/getconf.py b/getconf.py index 32641fb..ad8f9a7 100755 --- a/getconf.py +++ b/getconf.py @@ -18,6 +18,9 @@ def getconf(hostname, force=False, media=None): 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: + #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)) # assume that the images have already been generated.. pass