summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-09-12 22:23:35 +0200
committerLudovic Courtès <ludo@gnu.org>2019-09-12 23:07:42 +0200
commitda966a7a3d8a5c3fbc2f4105b95c4af17b2bbfdc (patch)
treeaa428cdff3ec13113c506b3544741027429360d3 /gnu/system
parent5ccec77176b7e0c67ed58c8849e5e76f3dd79a88 (diff)
downloadpatches-da966a7a3d8a5c3fbc2f4105b95c4af17b2bbfdc.tar
patches-da966a7a3d8a5c3fbc2f4105b95c4af17b2bbfdc.tar.gz
linux-container: Exclude more services when sharing networking with the host.
* gnu/system/linux-container.scm (containerized-operating-system)[useless-services]: Add more services to the list when SHARED-NETWORK? is true.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/linux-container.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/system/linux-container.scm b/gnu/system/linux-container.scm
index 451a72762c..cca626be06 100644
--- a/gnu/system/linux-container.scm
+++ b/gnu/system/linux-container.scm
@@ -30,6 +30,7 @@
#:use-module (gnu build linux-container)
#:use-module (gnu services)
#:use-module (gnu services base)
+ #:use-module (gnu services networking)
#:use-module (gnu services shepherd)
#:use-module (gnu system)
#:use-module (gnu system file-systems)
@@ -109,7 +110,11 @@ containerized OS. EXTRA-FILE-SYSTEMS is a list of file systems to add to OS."
;; Remove nscd service if network is shared with the host.
(if shared-network?
(list nscd-service-type
- static-networking-service-type)
+ static-networking-service-type
+ dhcp-client-service-type
+ network-manager-service-type
+ connman-service-type
+ wicd-service-type)
(list))))
(operating-system