aboutgitcodebugslistschat
path: root/doc
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-09-17 01:10:38 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-09-22 16:53:35 +0200
commitefd9d9b456f07d9e0559a57d69e915f0a7fb17c6 (patch)
tree7cdcf93e9b6de7681ea9be2c4133affc6867c93c /doc
parent6655625c30baf7100514c2f008512e72bae8f861 (diff)
downloadpasst-efd9d9b456f07d9e0559a57d69e915f0a7fb17c6.tar
passt-efd9d9b456f07d9e0559a57d69e915f0a7fb17c6.tar.gz
passt-efd9d9b456f07d9e0559a57d69e915f0a7fb17c6.tar.bz2
passt-efd9d9b456f07d9e0559a57d69e915f0a7fb17c6.tar.lz
passt-efd9d9b456f07d9e0559a57d69e915f0a7fb17c6.tar.xz
passt-efd9d9b456f07d9e0559a57d69e915f0a7fb17c6.tar.zst
passt-efd9d9b456f07d9e0559a57d69e915f0a7fb17c6.zip
doc/demo: Drop /sbin from dhclient command, pass script file explicitly
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 <sbrivio@redhat.com>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/demo.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/demo.sh b/doc/demo.sh
index d39a10e..f704ed4 100755
--- a/doc/demo.sh
+++ b/doc/demo.sh
@@ -63,11 +63,11 @@ EOF
echo "$ ip link set dev eth0 up"
ip link set dev eth0 up
sleep 3
- echo "$ /sbin/dhclient -4 -1"
- /sbin/dhclient -4 -1
+ echo "$ dhclient -4 -1 -sf /sbin/dhclient-script"
+ dhclient -4 -1 -sf /sbin/dhclient-script
sleep 2
- echo "$ /sbin/dhclient -6 -1"
- /sbin/dhclient -6 -1
+ echo "$ dhclient -6 -1 -sf /sbin/dhclient-script"
+ dhclient -6 -1 -sf /sbin/dhclient-script
sleep 2
echo
echo "$ ip address show"