From 6129dd8b5989f77b2976c68ecdf1f7dbfa63ec46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Sat, 19 Nov 2016 18:34:54 +0100
Subject: [PATCH] vm: Disable initrd-time QEMU networking for VM images.

Fixes <http://bugs.gnu.org/24943>.
Reported by dian_cecht@zoho.com.

* gnu/system/vm.scm (system-qemu-image)[initrd]: Remove
 #:qemu-networking? #t.
(virtualized-operating-system): Likewise
---
 gnu/system/vm.scm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 03f7d6c9130..1e680b85a24 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -317,7 +317,6 @@ (define file-systems-to-keep
               (initrd (lambda (file-systems . rest)
                         (apply base-initrd file-systems
                                #:virtio? #t
-                               #:qemu-networking? #t
                                rest)))
 
               ;; Force our own root file system.
@@ -386,7 +385,6 @@ (define user-file-systems
               (apply base-initrd file-systems
                      #:volatile-root? #t
                      #:virtio? #t
-                     #:qemu-networking? #t
                      rest)))
 
     ;; Disable swap.
-- 
GitLab