From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: Re: [PATCH 1/2] doc/demo: Drop /sbin from dhclient command, pass script file explicitly Date: Sat, 17 Sep 2022 10:44:31 +0200 Message-ID: <20220917104431.0b825fdc@elisabeth> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2712932103490002508==" --===============2712932103490002508== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Sat, 17 Sep 2022 13:23:55 +1000 David Gibson wrote: > On Sat, Sep 17, 2022 at 01:55:18AM +0200, Stefano Brivio wrote: > > dhclient might be in /usr/sbin on recent versions of Fedora, and > > mbuto just adds it to the same location as it was on the host: > > just call dhclient instead of /sbin/dhclient. > > > > This also applies for dhclient-script: given that we create the file > > on boot, pass its explicit location with -sf. > > > > Signed-off-by: Stefano Brivio > > Hm, for the tests mbuto image I addressed this with symlinks instead. > Not sure which is more elegant. Yes, I noticed... I think the symlinks are actually more elegant, but this is meant for interactive usage, and that has some potential to confuse the user. -- Stefano --===============2712932103490002508==--