[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28128] [PATCH 2/2] scripts: system: Support container network shari
[bug#28128] [PATCH 2/2] scripts: system: Support container network sharing.
Sun, 12 May 2019 23:23:28 +0200
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
Arun Isaac <address@hidden> skribis:
> I took too long, but here it is finally! Should I add any documentation
> about this new -N option to the manual?
> From d5f6fb996f591c44d94fe578a5c41a830ddcb077 Mon Sep 17 00:00:00 2001
> From: Arun Isaac <address@hidden>
> Date: Fri, 10 May 2019 16:56:16 +0530
> Subject: [PATCH] linux-container: Add support for 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
> (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
> (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?
> Co-authored-by: Christopher Baines <address@hidden>
LGTM! I guess this is what you wanted to achieve, Chris, right?