Added mistral default actions.

Now the docker image will contain default action and
default workflow provided by mistral.

Change-Id: Id8c1d6951ded0333d380820e1ab911715cbcaf73
Partially-implements: blueprint mistral-docker-image
This commit is contained in:
hparekh 2015-12-24 13:34:54 +09:00 committed by hardik
parent ce372c7c8b
commit 9bff18e0ea

View File

@ -29,6 +29,7 @@ WORKDIR /home/mistral
RUN sudo apt-get install -y screen
RUN echo "#!/bin/bash" > /root/postlaunch.sh
RUN echo "sudo cp -n /etc/mistral/mistral.conf /home/mistral/" >> /root/postlaunch.sh
RUN echo "sudo cp -n /opt/stack/mistral/mistral.sqlite /home/mistral" >> /root/postlaunch.sh
RUN echo "sudo service rabbitmq-server start" >> /root/postlaunch.sh
RUN echo "screen -d -m mistral-server --server all --config-file /home/mistral/mistral.conf" >> /root/postlaunch.sh
RUN chmod 755 /root/postlaunch.sh