diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2019-05-10 16:56:16 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2019-05-14 02:54:58 +0530 |
commit | b33454ae0b488e79faafef75a06090be6b2ac6a2 (patch) | |
tree | 61fc01c617f20a25c605aff4bc93cefa116b6a8f /etc | |
parent | 1bba3e8ca89b42a2828a8553dd8b3613592960cf (diff) | |
download | guix-b33454ae0b488e79faafef75a06090be6b2ac6a2.tar guix-b33454ae0b488e79faafef75a06090be6b2ac6a2.tar.gz |
linux-container: Support container network sharing.
* gnu/system/linux-container.scm (container-essential-services): If network is
to be shared with the host, remove network configuration files from etc
service.
(containerized-operating-system): If network is to be shared with the host,
remove nscd service and map host's /var/run/nscd if it exists.
(container-script): If network is to be shared with the host, do not create
network namespace.
* guix/scripts/system.scm (system-derivation-for-action): Add
#:container-shared-network? argument.
(perform-action): Add #:container-shared-network? argument.
(show-help): Add "-N, --network" help information.
(%options): Add network option.
(process-action): Call perform-action with #container-shared-network? argument.
* doc/guix.texi (Invoking guix system): Document the "-N, --network" option.
Co-authored-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions