Fix password generation in charmed installer
[osm/devops.git] / installers / charmed_install.sh
index 24272a1..7e73dbd 100755 (executable)
@@ -316,11 +316,11 @@ function check_osm_deployed() {
 
 function generate_password_overlay() {
     # prometheus
-    web_config_password=`openssl rand -base64 16`
+    web_config_password=`openssl rand -hex 16`
     # keystone
-    keystone_db_password=`openssl rand -base64 16`
-    keystone_admin_password=`openssl rand -base64 16`
-    keystone_service_password=`openssl rand -base64 16`
+    keystone_db_password=`openssl rand -hex 16`
+    keystone_admin_password=`openssl rand -hex 16`
+    keystone_service_password=`openssl rand -hex 16`
     #  mariadb
     mariadb_password=`openssl rand -hex 16`
     mariadb_root_password=`openssl rand -hex 16`