summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-11-19 18:34:54 +0100
committerLudovic Courtès <ludo@gnu.org>2016-11-19 18:44:54 +0100
commit6129dd8b5989f77b2976c68ecdf1f7dbfa63ec46 (patch)
tree35ac59d02109ce774824a74def99e0e56bc453ac
parentfac46e3f5e55f9de6fa2ab8082bc418139590fc0 (diff)
downloadguix-6129dd8b5989f77b2976c68ecdf1f7dbfa63ec46.tar.gz
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
-rw-r--r--gnu/system/vm.scm2
1 files changed, 0 insertions, 2 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 03f7d6c913..1e680b85a2 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -317,7 +317,6 @@ of the GNU system as described by OS."
               (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 @@ environment with the store shared with the host.  MAPPINGS is a list of
               (apply base-initrd file-systems
                      #:volatile-root? #t
                      #:virtio? #t
-                     #:qemu-networking? #t
                      rest)))
 
     ;; Disable swap.