slapos.cfg: Field names in the [networkcache] section
When I'm setting the shacache upload info. I found some issues which maybe need to clarify a bit.
- When running the command
/opt/slapos/bin/generate-signature-key /etc/opt/slapos/slapos.cfg
The command generate-signature-key
try to find field name as signature-certificate-file
and signature-private-key-file
: https://lab.nexedi.com/nexedi/slapos.libnetworkcache/blob/master/slapos/signature.py#L48
But the field names in slapos.cfg
are signature_private_key_file
and signature_certificate_file
: https://lab.nexedi.com/nexedi/slapos.core/blob/master/slapos.cfg.example#L59
I suppose it is just a coding style issue. But we should make it consistent? For now, I just changed my /etc/opt/slapos/slapos.cfg
manually and moved forward.
- The files that Julian gave me are
ca.crt
andboxiang.crt
. But in/etc/opt/slapos/slapos.cfg
. It uses*.cert
as the extension name. Maybe we should unify it?