From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson 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 19:50:49 +1000 Message-ID: In-Reply-To: <20220917104431.0b825fdc@elisabeth> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3583468526602243724==" --===============3583468526602243724== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Sat, Sep 17, 2022 at 10:44:31AM +0200, Stefano Brivio wrote: > 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. Fair enough. I don't think I've ever tried to do anything with demo.sh -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --===============3583468526602243724== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUVCQ0FBZEZpRUVvVUx4V3U0L1dz MGRCK1h0Z3lwWTRnRXdZU0lGQW1NbG1GOEFDZ2tRZ3lwWTRnRXcKWVNKTHhoQUFtck9NQVhuSGo0 UUxwdU5OQU1PSlVhSHpxTXA5akpsUVBremxsZmo0NXVWLytRanFXMnNIWEFkdgpFYVhUcVFaa3dj ZXRoT29hRXNLTGxWL3FDVms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