Ask Your Question

How to set root password on instance creation

asked 2015-08-16 19:29:14 -0500

senyapsudah gravatar image

Hi Guys,

i'm running on Kilo now. would like to know, how can i set root password on instance creation. i notice there is a post creation tab under instance creation workflow. i try to add below script but it's not working. can give some advise.

chpasswd:{expire: False}
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-08-18 02:26:03 -0500

Mohit gravatar image


Use the nova CLI command to launch an instance named and provide the filename of the customization script with the “–user-data” argument.

nova boot --flavor m1.medium --image "Ubuntu" --key-name xys instance_name

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-08-16 19:29:14 -0500

Seen: 5,331 times

Last updated: Aug 18 '15