On 02/17/2016 09:08 PM, Geminux wrote: > Hi all, > > I have to set some custom options in /etc/resolv.conf in a LXC container > (i.e "domain sub.domain.tld"). > > I noticed that any changes are overwritten upon container reboot. > Is there a way to do that ? > > Thanks
Try setting up IMMUTABLE attribute to the file within container - # chattr +i /etc/resolv.conf This will prevent system from modifying this file until IMMUTABLE flag is unset. _______________________________________________ pve-user mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
