aboutgitcodebugslistschat
path: root/passt.1
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-06-10 12:32:44 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-06-15 09:38:10 +0200
commite48373382f7c84175a0f61890e8f0164cdd2d329 (patch)
tree513610472a9536e965ecd7b8b8a1dbca7b8c568f /passt.1
parentca0c33ae5b8a68806dd1c766e2f58ce24867f334 (diff)
downloadpasst-e48373382f7c84175a0f61890e8f0164cdd2d329.tar
passt-e48373382f7c84175a0f61890e8f0164cdd2d329.tar.gz
passt-e48373382f7c84175a0f61890e8f0164cdd2d329.tar.bz2
passt-e48373382f7c84175a0f61890e8f0164cdd2d329.tar.lz
passt-e48373382f7c84175a0f61890e8f0164cdd2d329.tar.xz
passt-e48373382f7c84175a0f61890e8f0164cdd2d329.tar.zst
passt-e48373382f7c84175a0f61890e8f0164cdd2d329.zip
Use dhclient instead of udhcpc
For some reason, the passt/pasta tests and examples use dhclient for DHCPv6, but in most cases use udhcpc for DHCPv4. Change it to use dhclient for both DHCPv4 and DHCPv6. This means one less tool we need for testing, plus dhclient is easily available on Fedora whereas udhcpc is not. Note that the passt tests still rely on udhcpc indirectly because mbuto wants to put it into the guest images it generates. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'passt.1')
-rw-r--r--passt.112
1 files changed, 2 insertions, 10 deletions
diff --git a/passt.1 b/passt.1
index 28704e9..3dccc63 100644
--- a/passt.1
+++ b/passt.1
@@ -479,11 +479,7 @@ NDP/DHCPv6:
assign: 2a02:6d40:3ca5:2001:b81d:fa4a:8cdd:cf17
router: fe80::62e3:27ff:fe33:2b01
#
-# udhcpc -i eth0
-udhcpc: started, v1.30.1
-udhcpc: sending discover
-udhcpc: sending select for 192.168.1.118
-udhcpc: lease of 192.168.1.118 obtained, lease time 4294967295
+# dhclient -4 --no-pid
# dhclient -6 --no-pid
# ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
@@ -576,11 +572,7 @@ NDP/DHCPv6:
.fi
.BR " [Back to the original terminal]"
.nf
-# udhcpc -i eth0
-udhcpc: started, v1.30.1
-udhcpc: sending discover
-udhcpc: sending select for 192.168.1.118
-udhcpc: lease of 192.168.1.118 obtained, lease time 4294967295
+# dhclient -4 --no-pid
# dhclient -6 --no-pid
# ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000