Sometimes you need to do something before or after a container starts or stops. For example : - (u)mount lvm volume - add/del firewall rules I modified the init script to do that and the patch Reproducible: Always Actual Results: no script executed Expected Results: /etc/lxc/$CONTAINER.{pre,post}{up,down} will be executed if exists
Created attachment 306193 [details, diff] lxc init script's patch
Created attachment 306195 [details] lxc init script's patch ooops, my patch does more than expected (correct one is uploaded)
Created attachment 325520 [details] init script for 0.8rc2
This has been removed from the tree. If this is still relevant please re-open, and update your patches to the latest version.