Revision 6ca8f81a ci/snf-ci
b/ci/snf-ci | ||
---|---|---|
42 | 42 |
|
43 | 43 |
def main(): |
44 | 44 |
parser = OptionParser(usage=USAGE) |
45 |
parser.add_option("--conf", dest="config_file", default=None, |
|
46 |
help="Configuration file for SynnefoCI script"), |
|
45 | 47 |
parser.add_option("-c", "--cloud", dest="kamaki_cloud", default=None, |
46 | 48 |
help="Use specified cloud, as is in .kamakirc"), |
47 | 49 |
parser.add_option("-f", "--flavor", dest="flavor", default=None, |
... | ... | |
72 | 74 |
setattr(options, command, True) |
73 | 75 |
|
74 | 76 |
cleanup_config = command in CLEAN_CONFIG_CMDS |
75 |
synnefo_ci = SynnefoCI(cleanup_config=cleanup_config, |
|
77 |
synnefo_ci = SynnefoCI(config_file=options.config_file, |
|
78 |
cleanup_config=cleanup_config, |
|
76 | 79 |
cloud=options.kamaki_cloud) |
77 | 80 |
|
78 | 81 |
if getattr(options, CREATE_SERVER_CMD, False): |
Also available in: Unified diff