]> git.proxmox.com Git - mirror_lxc.git/commit
/etc/resolv.conf grows indefinitely
authorRachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com>
Sun, 27 Jan 2019 12:46:48 +0000 (13:46 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Jan 2019 12:46:48 +0000 (13:46 +0100)
commit567f8915962316dfee3b040bad404da7cdcbbe38
treeac8bbd07a3ca4306e23921c666b72822f7bfd7c7
parent8f2cce180e077cc725e0d09f32e365430e023e09
/etc/resolv.conf grows indefinitely

This file grows indefinitely : upon each DHCP lease renew,
the "nameserver ..dns..." line is added at the end of the file.
Make a "grep" in the file to make sure that the same line
does not already exist.

Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
templates/lxc-busybox.in