Ask Your Question
0

cannot change instance password with nova api [closed]

asked 2015-03-31 10:58:33 -0600

aboubacar gravatar image

since 3 days à try to find a way to change a ubuntu instance password with nova api but i didn't . Any help ?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by sgordon
close date 2015-03-31 17:03:44.575645

2 answers

Sort by » oldest newest most voted
0

answered 2015-03-31 17:03:55 -0600

sgordon gravatar image
edit flag offensive delete link more
0

answered 2015-03-31 16:09:53 -0600

why not just log in and use 'passwd' as root or sudo to modify the password?

you could also use cloud init to change the password at creation/boot if you'd like, or just use ssh key injection and avoid passwords all together. This guide may help https://www.digitalocean.com/communit...

#cloud-config chpasswd: list: | user1:password1 user2:password2 user3:password3 expire: False

edit flag offensive delete link more

Comments

i think the cloud-init is for all new instance not for a specific instance ? in a other term if it's not possible to change instance password with nova ,are there to change or set it before creating instance ?IF YES HOW ?

aboubacar gravatar imageaboubacar ( 2015-03-31 16:36:46 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-31 10:58:33 -0600

Seen: 562 times

Last updated: Mar 31 '15