mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Fix wrong condition in dhcpcd configuration in Jessie.
This commit is contained in:
parent
5433963f4e
commit
ebee46b57f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class EnableDHCPCDDNS(Task):
|
|||
def run(cls, info):
|
||||
# The dhcp client that ships with debian sets the DNS servers per default.
|
||||
# For dhcpcd in Wheezy and earlier we need to configure it to do that.
|
||||
if info.release_codename in {'jessie', 'sid'}:
|
||||
if info.release_codename not in {'jessie', 'sid'}:
|
||||
from bootstrapvz.common.tools import sed_i
|
||||
dhcpcd = os.path.join(info.root, 'etc/default/dhcpcd')
|
||||
sed_i(dhcpcd, '^#*SET_DNS=.*', 'SET_DNS=\'yes\'')
|
||||
|
|
Loading…
Add table
Reference in a new issue