summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-06-03 13:28:46 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-06-03 13:28:46 -0500
commit5a31e049ee342ec5874447796bc3978310306afb (patch)
tree08368920ee86ca447a0763dbd54ad0d5b45c7735 /src/sbin
parent623ef741053c9c213b526787a0631c71b90df186 (diff)
downloadbcfg2-5a31e049ee342ec5874447796bc3978310306afb.tar.gz
bcfg2-5a31e049ee342ec5874447796bc3978310306afb.tar.bz2
bcfg2-5a31e049ee342ec5874447796bc3978310306afb.zip
bcfg2-server: Add the ability to listen on specific interfaces (#1013)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-server2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sbin/bcfg2-server b/src/sbin/bcfg2-server
index f4bd5e5b7..546d5a249 100755
--- a/src/sbin/bcfg2-server
+++ b/src/sbin/bcfg2-server
@@ -35,6 +35,7 @@ if __name__ == '__main__':
OPTINFO.update({'key' : Bcfg2.Options.SERVER_KEY,
'cert' : Bcfg2.Options.SERVER_CERT,
'ca' : Bcfg2.Options.SERVER_CA,
+ 'listen_all' : Bcfg2.Options.SERVER_LISTEN_ALL,
'location' : Bcfg2.Options.SERVER_LOCATION,
'passwd' : Bcfg2.Options.SERVER_PASSWORD,
'static' : Bcfg2.Options.SERVER_STATIC,
@@ -51,6 +52,7 @@ if __name__ == '__main__':
print("Could not read %s" % setup['configfile'])
sys.exit(1)
Bcfg2.Component.run_component(Bcfg2.Server.Core.Core,
+ listen_all=setup['listen_all'],
location=setup['location'],
daemon = setup['daemon'],
pidfile_name = setup['daemon'],