mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-26 17:57:01 +00:00
ONL Configuration Defaults
This commit is contained in:
14
packages/base/all/vendor-config-onl/src/bin/onl-sysconfig
Executable file
14
packages/base/all/vendor-config-onl/src/bin/onl-sysconfig
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/python
|
||||
import os
|
||||
import sys
|
||||
from onl.sysconfig import sysconfig
|
||||
import yaml
|
||||
|
||||
if len(sys.argv) == 2:
|
||||
try:
|
||||
print yaml.dump((eval("sysconfig.%s" % sys.argv[1])), default_flow_style=False)
|
||||
except AttributeError, e:
|
||||
print "Path %s is not in the config." % sys.argv[1]
|
||||
else:
|
||||
print sysconfig['OnlSystemConfig'].dump()
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
############################################################
|
||||
#
|
||||
# ONL System Configuration
|
||||
# ONL Default System Configuration.
|
||||
#
|
||||
# These provide the base default values for all sysconfig keys.
|
||||
#
|
||||
############################################################
|
||||
|
||||
upgrade:
|
||||
onie:
|
||||
auto-upgrade: advisory
|
||||
@@ -16,7 +17,6 @@ upgrade:
|
||||
- $PLATFORM.itb
|
||||
- onl-loader-fit.itb
|
||||
|
||||
|
||||
pki:
|
||||
key:
|
||||
name: key.pem
|
||||
@@ -32,4 +32,8 @@ pki:
|
||||
commonName: Networking
|
||||
organizationalUnitName: Open Network Linux
|
||||
emailAddress: support@bigswitch.com
|
||||
cdays: 3600
|
||||
cdays: 3600
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user