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>
This commit is contained in:
Stefano Brivio 2022-07-21 13:56:26 +02:00
parent a4778b3b81
commit 506b4ede55

View file

@ -75,7 +75,7 @@ ns ip link show
sleep 3 sleep 3
say Let's configure IPv4 first... say Let's configure IPv4 first...
sleep 2 sleep 2
ns dhclient -4 --no-pid ns /sbin/dhclient -4 --no-pid
sleep 2 sleep 2
ns ip addr show ns ip addr show
sleep 5 sleep 5
@ -85,7 +85,7 @@ say SLAAC is already done, but we can also
nl nl
say get another address via DHCPv6. say get another address via DHCPv6.
sleep 3 sleep 3
ns dhclient -6 --no-pid ns /sbin/dhclient -6 --no-pid
sleep 3 sleep 3
nl nl