From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:59800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQBM6-00039x-8g for guix-patches@gnu.org; Mon, 13 May 2019 09:51:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQBFJ-0004Fr-W4 for guix-patches@gnu.org; Mon, 13 May 2019 09:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59168) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQBFJ-0004Fn-SO for guix-patches@gnu.org; Mon, 13 May 2019 09:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQBFJ-00028a-PE for guix-patches@gnu.org; Mon, 13 May 2019 09:44:01 -0400 Subject: [bug#28128] [PATCH 2/2] scripts: system: Support container network sharing. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190313093610.1071-1-arunisaac@systemreboot.net> <20190313093610.1071-3-arunisaac@systemreboot.net> <87va0n80u5.fsf@gnu.org> <874l80tw60.fsf@gnu.org> <871s2y7r71.fsf@inria.fr> <87imuftlin.fsf@gnu.org> Date: Mon, 13 May 2019 15:43:28 +0200 In-Reply-To: (Arun Isaac's message of "Mon, 13 May 2019 14:00:05 +0530") Message-ID: <878svasc5b.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Arun Isaac Cc: 28128@debbugs.gnu.org Arun Isaac skribis: > From 53fc5d548d8c2bb772dd6f26df80809ba2707a20 Mon Sep 17 00:00:00 2001 > From: Arun Isaac > Date: Fri, 10 May 2019 16:56:16 +0530 > Subject: [PATCH] linux-container: Support container network sharing. > > * gnu/system/linux-container.scm (container-essential-services): If netwo= rk 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 hos= t, > 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 crea= te > 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? arg= ument. > * doc/guix.texi (Invoking guix system): Document the "-N, --network" opti= on. > > Co-authored-by: Christopher Baines LGTM, thanks! Ludo=E2=80=99.