fixes to make lxc template for centos usable