1
0
Fork 0
mirror of https://passt.top/passt synced 2025-05-25 18:45:37 +02:00

test: Add external mbuto profile, drop udhcpc, and switch to it

This depends on a future change in mbuto to accept external profile
files. Add a file defining what we need for tests and demos, dropping
udhcpc and script as they're not needed anymore, and switch to it.

Suggested-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-06-23 14:34:54 +02:00
parent 2757d3c0b6
commit 20c418f1f9
3 changed files with 39 additions and 2 deletions
test/lib

View file

@ -34,7 +34,7 @@ setup_passt() {
pane_run GUEST "git -C ${__mbuto_dir} clone git://mbuto.sh/mbuto"
pane_status GUEST
pane_run GUEST "${__mbuto_dir}/mbuto/mbuto -p passt -c lz4 -f mbuto.img"
pane_run GUEST "${__mbuto_dir}/mbuto/mbuto -p test/passt.mbuto -c lz4 -f mbuto.img"
pane_status GUEST
rm -rf "${__mbuto_dir}"