Permalink
Browse files

dhcpcd has changed parameters, -G -C resolv.conf always fails now

  • Loading branch information...
akkana committed Sep 12, 2017
1 parent 3802954 commit dd1adb9bc23b2a0f0e0c9e192427975b12ca5d5f
Showing with 4 additions and 2 deletions.
  1. +4 −2 netscheme
View
@@ -423,8 +423,10 @@ psk="%s"
if self.dhcp:
print "Getting dhcp"
try:
- subprocess.check_call(["dhcpcd", "-G", "-C", "resolv.conf",
- self.iface.name])
+ # dhcp no longer works with these parameters:
+ # subprocess.check_call(["dhcpcd", "-G", "-C", "resolv.conf",
+ # self.iface.name])
+ subprocess.check_call(["dhcpcd", self.iface.name])
#except subprocess.CalledProcessError, e:
except Exception, e:
print "Couldn't run dhcpcd; trying dhclient"

0 comments on commit dd1adb9

Please sign in to comment.