From 21465285fa8cf2d741defd0f5b6a96b8c45e1a50 Mon Sep 17 00:00:00 2001 From: hamistao Date: Thu, 12 Sep 2024 06:22:16 -0300 Subject: [PATCH] tests/container: Avoid `lxc exec` with guest not ready Signed-off-by: hamistao --- tests/container | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/container b/tests/container index ff5a6845c..f0e9be45c 100755 --- a/tests/container +++ b/tests/container @@ -139,6 +139,7 @@ IMAGE="ubuntu-minimal-daily:24.04" echo "==> check that we can mount devpts and procfs in unprivileged container" lxc launch "${IMAGE}" u1 +waitInstanceBooted u1 lxc exec u1 -- mkdir /root/proc lxc exec u1 -- mount -t proc proc /root/proc lxc exec u1 -- mkdir /root/devpts