Commit 547ce394 authored by Julien Muchembled's avatar Julien Muchembled

slapos.cfg: signature_certificate_file -> signature-certificate-file

For consistency with other options, and because there's already some code in
the wild using dashes instead of underscores.
parent 560fcf57
...@@ -42,6 +42,6 @@ def run(*args): ...@@ -42,6 +42,6 @@ def run(*args):
config = ConfigParser.SafeConfigParser() config = ConfigParser.SafeConfigParser()
option = parser.parse_args(list(args) or sys.argv[1:]) option = parser.parse_args(list(args) or sys.argv[1:])
config.readfp(option.slapos_config) config.readfp(option.slapos_config)
generateCertificate(config.get('networkcache', 'signature_certificate_file'), generateCertificate(config.get('networkcache', 'signature-certificate-file'),
config.get('networkcache', 'signature_private_key_file'), config.get('networkcache', 'signature-private-key-file'),
config.get('slapos', 'computer_id')) config.get('slapos', 'computer_id'))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment