commit ff902e172024d8003844b47ad78453f629f2fba3
Author: Alexander Gordeev <email address hidden>
Date: Wed Feb 11 16:59:06 2015 +0300
[IBP] Fix idempotency issues in cloud-init boothooks
script named 'cloud-init-per' is written in bash and can't work with
pipes correctly. So, long command lines with pipes should be
converted to a single command, eg:
/bin/sh -c 'echo command | tee /etc/file'
Without that, all those incorrectly handled commands will empty files
on the every next boot after the first boot.
Reviewed: https:/ /review. openstack. org/154949 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=ff902e17202 4d8003844b47ad7 8453f629f2fba3
Committed: https:/
Submitter: Jenkins
Branch: master
commit ff902e172024d80 03844b47ad78453 f629f2fba3
Author: Alexander Gordeev <email address hidden>
Date: Wed Feb 11 16:59:06 2015 +0300
[IBP] Fix idempotency issues in cloud-init boothooks
script named 'cloud-init-per' is written in bash and can't work with
pipes correctly. So, long command lines with pipes should be
converted to a single command, eg:
/bin/sh -c 'echo command | tee /etc/file'
Without that, all those incorrectly handled commands will empty files
on the every next boot after the first boot.
Change-Id: Ib49a21cde42264 320ada882c9e06a 4a0e09badfa
Closes-Bug: #1420396