diff options
-rw-r--r-- | lib/network/netconnect.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm index f344b34..18488e0 100644 --- a/lib/network/netconnect.pm +++ b/lib/network/netconnect.pm @@ -320,6 +320,8 @@ If you do not know it, keep the preselected protocol.") }, last if $status; sleep 1; } + # workaround missing resolvconf + -f "/etc/resolv.conf" or cp_f("$::prefix/etc/resolv.conf", "/etc/resolv.conf"); } $success = $connection->get_status(); $has_internet = network::tools::connected(); |