diff --git a/guix/build/linux-initrd.scm b/guix/build/linux-initrd.scm index 662f7967e3a4b190ed81a6b161669118e624167b..bce289987bf84bdb46ac76c31ddbd76a9785ff93 100644 --- a/guix/build/linux-initrd.scm +++ b/guix/build/linux-initrd.scm @@ -384,11 +384,9 @@ (define* (configure-qemu-networking #:optional (interface "eth0")) (set-network-interface-address sock interface address) (set-network-interface-flags sock interface (logior flags IFF_UP)) - (unless (file-exists? "/etc") - (mkdir "/etc")) - (call-with-output-file "/etc/resolv.conf" - (lambda (p) - (display "nameserver 10.0.2.3\n" p))) + ;; Hello! We used to create /etc/resolv.conf here, with "nameserver + ;; 10.0.2.3\n". However, with Linux-libre 3.16, we're getting ENOSPC. + ;; And since it's actually unnecessary, it's gone. (logand (network-interface-flags sock interface) IFF_UP)))