This should be moved inside the lxc driver itself (and the equivalent code should be implemented in the native driver)