Comment 3 for bug 1420396

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/154949
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=ff902e172024d8003844b47ad78453f629f2fba3
Submitter: Jenkins
Branch: master

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.

    Change-Id: Ib49a21cde42264320ada882c9e06a4a0e09badfa
    Closes-Bug: #1420396