mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
dockersetup: show a warning if no email host specified
If no email host has been specified that will prevent certain things from working, so warn the user if they haven't specified one. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
a8bb9e64bb
commit
f16ca9da35
|
@ -546,6 +546,13 @@ Note that this script does have interactive prompts, so be prepared to
|
||||||
provide information as needed.
|
provide information as needed.
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
if not updatemode and not email_host:
|
||||||
|
print(""" WARNING: no email host has been specified - functions that require email
|
||||||
|
(such as and new account registraion, password reset and error reports will
|
||||||
|
not work without it. If you wish to correct this, press Ctrl+C now and then
|
||||||
|
re-run specifying the email host with the --email-host option.
|
||||||
|
""")
|
||||||
|
|
||||||
if reinstmode:
|
if reinstmode:
|
||||||
print(""" WARNING: continuing will wipe out any existing data in the database and set
|
print(""" WARNING: continuing will wipe out any existing data in the database and set
|
||||||
up the application from scratch! Press Ctrl+C now if this is not what you
|
up the application from scratch! Press Ctrl+C now if this is not what you
|
||||||
|
|
Loading…
Reference in New Issue
Block a user