Enhance comment and fix typo on it.
This commit is contained in:
parent
061efddec2
commit
7e94f78c0a
|
@ -98,7 +98,7 @@ class SystemSetupServer(SubiquityServer):
|
||||||
if port is None:
|
if port is None:
|
||||||
return await super().start_site(runner)
|
return await super().start_site(runner)
|
||||||
|
|
||||||
# Subiquity runs with root privileges. We don't wont outsiders to
|
# Subiquity runs with root privileges, that's why we don't want
|
||||||
# connect to it.
|
# outsiders to connect to it. Only localhost loopback is allowed.
|
||||||
site = web.TCPSite(runner, host=LOCALHOST_ADDR, port=port)
|
site = web.TCPSite(runner, host=LOCALHOST_ADDR, port=port)
|
||||||
await site.start()
|
await site.start()
|
||||||
|
|
Loading…
Reference in New Issue