Ask Your Question
0

why my instance can not run my init-script file?

asked 2016-01-21 21:02:21 -0500

demo gravatar image

i want to pre-run my script when an instance is creating. but it not work when i try to input script in dashborad directly.

my openstack system environment as blow:

1.nova image : cirros

2.nova --version 2.30.1

3.script input in dashborad:

#!/bin/bash

sudo echo 'hello openstack' >> /mnt/file

i am confused with the question.. is my script wrong?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-01-21 21:03:21 -0500

demo gravatar image

any advice is helpful

edit flag offensive delete link more
0

answered 2016-01-22 10:21:52 -0500

This is answered here. Please refer to this. It may help you.

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: 2016-01-21 21:02:21 -0500

Seen: 95 times

Last updated: Jan 22 '16