From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 1/9] system: vm: Remove -net user flag. Date: Mon, 05 Sep 2016 10:41:44 +0200 Message-ID: <87twduoi0n.fsf@gnu.org> References: <20160901155711.7388-1-david@craven.ch> <87vayeim5r.fsf@we.make.ritual.n0.is> <87lgz9m7ba.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgpTW-0004et-E7 for guix-devel@gnu.org; Mon, 05 Sep 2016 04:41:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgpTS-0005zx-AW for guix-devel@gnu.org; Mon, 05 Sep 2016 04:41:53 -0400 In-Reply-To: (David Craven's message of "Sat, 3 Sep 2016 15:44:58 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel David Craven skribis: >> I sympathize with this; what problems are you referring to? >> >> The reason for =E2=80=9C-net user=E2=80=9D is that it allows me to run = =E2=80=9Cdhclient -v >> eth0=E2=80=9D in the VM and get access to the network, which is often wh= at I >> want. > > I usually have the need to add my own flags most of the time anyway. > > This is the script I usually use - the line marked > doesn't take > effect when a -net user flag was already provided: > > $($HOME/guix/pre-inst-env guix system vm server-configuration.scm) \ >> -net user,hostfwd=3Dtcp::10022-:22 \ I see, thanks for explaining. OK for this patch! Ludo=E2=80=99.