Ask Your Question
0

Add user-data to an instance that is already running

asked 2014-07-24 13:40:18 -0500

Pablolibo gravatar image

Hi all,

Is there any way to modify/add the "user-data" to an instance that is already created and running?

The documentation only said: use the command "nova boot" with variable --user-data, but I can't found documentation about instances already running on openstack,

Any help is welcome!

Thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-07-28 08:31:30 -0500

HoangDo gravatar image

What's the point of adding user-data to a running VM. As I understand, user-data will be run with cloud-init (when booting instances). If the instances are already running, what events will trigger user-data?

(Please correct me if I'm wrong)

edit flag offensive delete link more

Comments

A example: I have a ssh key for puppet service, this deploy works with user-data and I need change the old key for security reason.

Pablolibo gravatar imagePablolibo ( 2014-07-28 11:32:36 -0500 )edit
0

answered 2014-07-25 08:39:28 -0500

Eric Xie gravatar image

hi Pablolibo, There is nova-metadata service which can add metadata to a running instance. Try it. Regards.

edit flag offensive delete link more

Comments

how? is a command? how I can edit the metada?

Pablolibo gravatar imagePablolibo ( 2014-07-28 11:41:46 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-24 13:40:18 -0500

Seen: 445 times

Last updated: Jul 28 '14