diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-07-15 15:21:27 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-07-22 19:41:42 +0200 |
commit | 66ec4416084b189aba8cf44f2f087573d9676a4e (patch) | |
tree | 5dd800d3e5db4192911307271910c6993e3f43aa | |
parent | 1fb2bd675495ece3bb58fe8003dc67eaca7ace34 (diff) | |
download | passt-66ec4416084b189aba8cf44f2f087573d9676a4e.tar passt-66ec4416084b189aba8cf44f2f087573d9676a4e.tar.gz passt-66ec4416084b189aba8cf44f2f087573d9676a4e.tar.bz2 passt-66ec4416084b189aba8cf44f2f087573d9676a4e.tar.lz passt-66ec4416084b189aba8cf44f2f087573d9676a4e.tar.xz passt-66ec4416084b189aba8cf44f2f087573d9676a4e.tar.zst passt-66ec4416084b189aba8cf44f2f087573d9676a4e.zip |
tests: Add some extra dhclient support directories to mbuto.img
Although it can operate without them, dhclient can issue errors if it
doesn't have /var/run to write a pid file and /var/lib to write a leases
file. Create those in mbuto.img to stop it complaining.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rwxr-xr-x | test/passt.mbuto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/passt.mbuto b/test/passt.mbuto index fb59cec..b33c0a8 100755 --- a/test/passt.mbuto +++ b/test/passt.mbuto @@ -21,7 +21,7 @@ LINKS="${LINKS:- ash,dash,bash /init ash,dash,bash /bin/sh}" -DIRS="${DIRS} /tmp /sbin /var/log" +DIRS="${DIRS} /tmp /sbin /var/log /var/run /var/lib" FIXUP="${FIXUP}"' cat > /sbin/dhclient-script << EOF |