Ask Your Question
0

How to SSH into an Instance and run commands through Heat template.

asked 2018-03-20 01:28:45 -0500

turboKaT gravatar image

Im deploying a network and an Ubuntu image with Opensips installed on it through HEAT. How do I automate the process of SSH-ing into this image from the host to execute the Opensips config and execute commands through the Heat template itself?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-04-18 13:01:33 -0500

zaneb gravatar image

Heat doesn't do SSH.

You can either use cloud-init (configured through the server user_data) to automate the process at boot, or use a Heat SoftwareDeployment (which requires some or all of the heat-agents to be installed in the image).

edit flag offensive delete link more

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: 2018-03-20 01:28:45 -0500

Seen: 53 times

Last updated: Apr 18 '18