1
0
mirror of https://passt.top/passt synced 2024-07-04 00:42:41 +00:00
passt/test/perf
David Gibson ca0c33ae5b Tweak dhclient arguments for readability
A number of tests and examples use dhclient in both IPv4 and IPv6 modes.
We use "dhclient -6" for IPv6, but usually just "dhclient" for IPv4.  Add
an explicit "-4" argument to make it more clear and explicit.

In addition, when dhclient is run from within pasta it usually won't be
"real" root, and so will not have access to write the default global pid
file.  This results in a mostly harmless but irritating error:
    Can't create /var/run/dhclient.pid: Permission denied
We can avoid that by using the --no-pid flag to dhclient.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2022-06-15 09:38:10 +02:00
..
passt_tcp Tweak dhclient arguments for readability 2022-06-15 09:38:10 +02:00
passt_udp Tweak dhclient arguments for readability 2022-06-15 09:38:10 +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