aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-07-21 13:56:26 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-07-22 19:41:42 +0200
commit506b4ede559a07b35177322f57bc8c3f13b44794 (patch)
tree8e374d01472a26c63264946ad0d7e92d7eac5d62
parenta4778b3b8194d8ac9443661c5d150a739b8e7eca (diff)
downloadpasst-506b4ede559a07b35177322f57bc8c3f13b44794.tar
passt-506b4ede559a07b35177322f57bc8c3f13b44794.tar.gz
passt-506b4ede559a07b35177322f57bc8c3f13b44794.tar.bz2
passt-506b4ede559a07b35177322f57bc8c3f13b44794.tar.lz
passt-506b4ede559a07b35177322f57bc8c3f13b44794.tar.xz
passt-506b4ede559a07b35177322f57bc8c3f13b44794.tar.zst
passt-506b4ede559a07b35177322f57bc8c3f13b44794.zip
test: In pasta demo, issue /sbin/dhclient instead of dhclient
This was dependent on my own environment where I usually have /sbin in $PATH. If that's missing, given that we're running dhclient as user, we won't find it. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--test/demo/pasta4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/demo/pasta b/test/demo/pasta
index be117b3..342671f 100644
--- a/test/demo/pasta
+++ b/test/demo/pasta
@@ -75,7 +75,7 @@ ns ip link show
sleep 3
say Let's configure IPv4 first...
sleep 2
-ns dhclient -4 --no-pid
+ns /sbin/dhclient -4 --no-pid
sleep 2
ns ip addr show
sleep 5
@@ -85,7 +85,7 @@ say SLAAC is already done, but we can also
nl
say get another address via DHCPv6.
sleep 3
-ns dhclient -6 --no-pid
+ns /sbin/dhclient -6 --no-pid
sleep 3
nl