How can I write the password data via heat template in openstack? [closed]
I want to inject password data with heat template version 2014-10-16. But i cant do this. this is my user data field in yaml file user_data: | #cloud-config password: test123 #!/bin/bash echo "Running boot script" >> /home/ubuntu/test sudo apt-add-repository -y ppa:ansible/ansible sudo add-apt-repository -y ppa:openjdk-r/ppa sudo apt-get -y update sudo apt-get -y install git git clone https://xxxxx@github.com/eniacce/hado... sudo apt-get -y install openjdk-8-jdk sudo apt-get -y install ansible sudo sed -i "/^[^#]*PasswordAuthentication[[:space:]]no/c\PasswordAuthentication yes" /etc/ssh/sshd_config sudo useradd -d /home/mesut -m mesut sudo usermod --password xxxx mesut /etc/init.d/ssh restart hostnamectl set-hostname master-$NONCE-dmind
but not pass in the vm?
How can ı follow the way for problem?