Skip to content

Instantly share code, notes, and snippets.

@anande
anande / change_undercloud_admin_password_post_installation.txt
Created July 6, 2018 10:58
change_undercloud_admin_password_post_installation
Steps:
======
1) Set the new password using below command:
osp-d$ sudo keystone-manage bootstrap --bootstrap-password 'P@$$w0rD'
2) Change the existing passwords in the following files:
**[NOTE: Take backup of the following files before modifying them]**
osp-d$ sed -i 's/2ff2581deeb42b829a779183a40675631d8e06d6/P@$$w0rD/g' /home/stack/undercloud-passwords.conf
osp-d$ sudo sed -i 's/2ff2581deeb42b829a779183a40675631d8e06d6/P@$$w0rD/g' /etc/puppet/hieradata/puppet-stack-config.yaml