Comment 4 for bug 1420396

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

Reviewed: https://review.openstack.org/155771
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=9521325eb04679ef2ec386d054099c77b4ca0953
Submitter: Jenkins
Branch: stable/6.0

commit 9521325eb04679ef2ec386d054099c77b4ca0953
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