Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions imagefactory.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"debug": 0,
"address": "127.0.0.1",
"port": 8075,
"no_ssl": 0,
"no_oauth": 0,
"imgdir": "/var/lib/imagefactory/images",
Expand Down
2 changes: 1 addition & 1 deletion imgfac/ApplicationConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __new_argument_parser(self, appname):
argparser.add_argument('--foreground', action='store_true', default=False, help='Stay in the foreground and avoid launching a daemon. (default: %(default)s)')
group_rest = argparser.add_argument_group(title='REST service options')
group_rest.add_argument('--port', type=int, default=8075, help='Port to attach the RESTful http interface to. (default: %(default)s)')
group_rest.add_argument('--address', default='0.0.0.0', help='Interface address to listen to. (default: %(default)s)')
group_rest.add_argument('--address', default='127.0.0.1', help='Interface address to listen to. (default: %(default)s)')
group_rest.add_argument('--no_ssl', action='store_true', default=False, help='Turn off SSL. (default: %(default)s)')
group_rest.add_argument('--ssl_pem', default='*', help='PEM certificate file to use for HTTPS access to the REST interface. (default: A transient certificate is generated at runtime.)')
group_rest.add_argument('--no_oauth', action='store_true', default=False, help='Use 2 legged OAuth to protect the REST interface. (default: %(default)s)')
Expand Down