1
0
mirror of https://passt.top/passt synced 2024-06-29 22:42:46 +00:00
passt/test/perf
Stefano Brivio 4d777144fd test: Embed script for dhclient(8) in mbuto(1) profile
David reports that dhclient-script(8) on Fedora needs a number of
binaries that are not included in PROGS of the current mbuto profile,
and we would also need to include hostnamectl(1) there, which will
fail without a systemd init.

Embed a minimal script for dhclient(8) in the profile itself, written
to /sbin/dhclient-script at boot, to just check what we need to check
out of DHCP and DHCPv6 functionality.

While at it, drop busybox and logger from PROGS, as we don't need them,
and add hostname(1). While DHCP option 12 isn't supported yet by the
DHCP implementation in passt, we should probably add it soon.

Note: owing to the simplicity of this script, we now need to bring up
the interface before starting dhclient: add this in test scripts where
it's not the case yet.

Reported-by: David Gibson <david@gibson.dropbear.id.au>
Suggested-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>

note that we need to bring up the interface before starting dhclient
2022-07-14 01:31:28 +02:00
..
passt_tcp test: Embed script for dhclient(8) in mbuto(1) profile 2022-07-14 01:31:28 +02:00
passt_udp test: Embed script for dhclient(8) in mbuto(1) profile 2022-07-14 01:31:28 +02:00
pasta_tcp Don't abbreviate ip(8) arguments in examples and tests 2022-06-15 09:38:10 +02:00
pasta_udp Don't abbreviate ip(8) arguments in examples and tests 2022-06-15 09:38:10 +02:00