diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2011-06-03 13:28:46 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-06-14 12:36:46 -0500 |
commit | 5da2ced6d355a61032e254356c88804c7a44ffc1 (patch) | |
tree | 08368920ee86ca447a0763dbd54ad0d5b45c7735 /src/sbin/bcfg2-server | |
parent | ab956d76bd20b458195ade8efd2cafb590bb3217 (diff) | |
download | bcfg2-5da2ced6d355a61032e254356c88804c7a44ffc1.tar.gz bcfg2-5da2ced6d355a61032e254356c88804c7a44ffc1.tar.bz2 bcfg2-5da2ced6d355a61032e254356c88804c7a44ffc1.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/bcfg2-server')
-rwxr-xr-x | src/sbin/bcfg2-server | 2 |
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'], |