From 85a7f5fdac4c3b3a1aacc41064024b04cf11279d Mon Sep 17 00:00:00 2001 From: Wu Wenxiang Date: Mon, 27 Jun 2022 10:00:29 +0800 Subject: [PATCH] fix: add single quotation markx for password Some users forget to add single quotation marks for the password value which contains blanks or back slashes, which cause login failures. Adding signle quotation marks for password values in the example file as a remind. Change-Id: I0ab68d67f94a90b983b204ced76e85323eeaacdc --- etc/skyline.yaml.sample | 2 +- skyline_apiserver/config/openstack.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/skyline.yaml.sample b/etc/skyline.yaml.sample index 05e74ab..bc71c5b 100644 --- a/etc/skyline.yaml.sample +++ b/etc/skyline.yaml.sample @@ -92,7 +92,7 @@ openstack: - system_reader system_user_domain: Default system_user_name: skyline - system_user_password: password + system_user_password: '' setting: base_settings: - flavor_families diff --git a/skyline_apiserver/config/openstack.py b/skyline_apiserver/config/openstack.py index d83d319..2b18614 100644 --- a/skyline_apiserver/config/openstack.py +++ b/skyline_apiserver/config/openstack.py @@ -60,7 +60,7 @@ system_user_password = Opt( name="system_user_password", description="Skyline system 's password", schema=StrictStr, - default="password", + default="", ) default_region = Opt(