summaryrefslogtreecommitdiffstats
path: root/cm-container/scripts/set-admin-password.sh
diff options
context:
space:
mode:
authorJack Lucas <jflos@sonoris.net>2020-12-04 14:27:11 -0500
committerJack Lucas <jflos@sonoris.net>2021-01-07 10:02:14 -0500
commitbc4f7b8493766b757ad6ebc204b48b4dc5a82e82 (patch)
tree96885dd31fe2d38c1588e294a18407d71481be6c /cm-container/scripts/set-admin-password.sh
parent68eca53cf38d8d004ae3ea50e8d1197b0325a466 (diff)
[DCAE] Update Cloudify Manager to Python 3.x4.0.0-cm-container
Issue-ID: DCAEGEN2-2542 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I8d3c42fc80290394df4eb3bd724c6e43d60c0a96
Diffstat (limited to 'cm-container/scripts/set-admin-password.sh')
-rwxr-xr-xcm-container/scripts/set-admin-password.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/cm-container/scripts/set-admin-password.sh b/cm-container/scripts/set-admin-password.sh
index d8c4121..04bd375 100755
--- a/cm-container/scripts/set-admin-password.sh
+++ b/cm-container/scripts/set-admin-password.sh
@@ -1,6 +1,7 @@
#!/bin/bash
# ============LICENSE_START=======================================================
# Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2020-2021 J. F. Lucas. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -35,7 +36,7 @@ CMPASS=${CMPASS:-admin}
echo "Set Cloudify's admin password"
cd /opt/manager
-cfy_manager --reset_admin_password $CMPASS || ./env/bin/python reset_admin.py -p $CMPASS
+cfy_manager reset-admin-password $CMPASS
echo "Set the password used by the cfy client"
cfy profile set -p $CMPASS