Comment 1 for bug 1541873

Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

Ah, now I remember! :)

So, only fix-configs-on-startup references send2syslog.py, so it's easy to fix. Then, instead of writing an rc.local (boooooo... ugly...), I just wrote an init script which calls /usr/bin/fa_fix-configs-on-startup. This has the same effect, but it can be packaged in a Debian policy compliant way.

Many files under contrib/fuel_bootstrap/files/trusty/etc are hardly package-able by the way. For example, contrib/fuel_bootstrap/files/trusty/etc/hostname can't be done this way. Instead, the hostname shall be fixed when preparing the image. Files like contrib/fuel_bootstrap/files/trusty/etc/modules belong to other packages (kmod in this case) and can't be replaced in this way.

So, just installing fuel-agent wont be enough for preparing the image, which is a shame. We should find some better way than just dropping files from contrib/fuel_bootstrap/files/trusty in the bootstrap image. Suggestions welcome.