Ensure murano-agent starts on boot on debian-based images

Change-Id: I5340c31553cf4dc53b8ccf6069bec3a44098f38c
This commit is contained in:
Alexey Deryugin 2015-09-30 19:23:42 +03:00
parent 0b03505a11
commit 6ae0e725a0
1 changed files with 2 additions and 0 deletions

View File

@ -9,3 +9,5 @@ rm -rf /etc/cloud/cloud.cfg.d/01_hostname.cfg
# Fix problem with locale generation
sed -e '/# en_US.UTF-8/ s/^# //' -i /etc/locale.gen
locale-gen
sed -e 's/exit 0/service murano-agent start\nexit 0/g' -i /etc/rc.local