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.
This commit is contained in:
parent
5ccec77176
commit
da966a7a3d
|
@ -30,6 +30,7 @@
|
||||||
#:use-module (gnu build linux-container)
|
#:use-module (gnu build linux-container)
|
||||||
#:use-module (gnu services)
|
#:use-module (gnu services)
|
||||||
#:use-module (gnu services base)
|
#:use-module (gnu services base)
|
||||||
|
#:use-module (gnu services networking)
|
||||||
#:use-module (gnu services shepherd)
|
#:use-module (gnu services shepherd)
|
||||||
#:use-module (gnu system)
|
#:use-module (gnu system)
|
||||||
#:use-module (gnu system file-systems)
|
#: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.
|
;; Remove nscd service if network is shared with the host.
|
||||||
(if shared-network?
|
(if shared-network?
|
||||||
(list nscd-service-type
|
(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))))
|
(list))))
|
||||||
|
|
||||||
(operating-system
|
(operating-system
|
||||||
|
|
Loading…
Reference in New Issue