X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=conf_files.py;h=5d1cb5614295dc194a368bb45ece322447e7c131;hb=4462c5aa0fe45673f05a414d9cff10567c9fb3c1;hp=d584c2afa322497939ff02178c3a3f48c3663e27;hpb=355187f3cecaac06024d5819ac3bcbb304b09a37;p=nodemanager.git diff --git a/conf_files.py b/conf_files.py index d584c2a..5d1cb56 100644 --- a/conf_files.py +++ b/conf_files.py @@ -96,7 +96,7 @@ if __name__ == '__main__': parser = optparse.OptionParser() parser.add_option('-f', '--config', action='store', dest='config', default='/etc/planetlab/plc_config', help='PLC configuration file') parser.add_option('-k', '--session', action='store', dest='session', default='/etc/planetlab/session', help='API session key (or file)') - parser.add_option('--noscripts', action='store', dest='noscripts', default=False, help='Do not run pre- or post-install scripts') + parser.add_option('--noscripts', action='store_true', dest='noscripts', default=False, help='Do not run pre- or post-install scripts') (options, args) = parser.parse_args() # Load /etc/planetlab/plc_config