X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=pipelines%2Fimages%2Fimagebuild.sh;h=1b36a0331f5d6290493742957d4089c1fe0f6c2d;hb=511446639c24245feb16c15c6d66e9a80f2cc243;hp=8d164ae432c29df9eb2d34ef61fef3388a90bcf2;hpb=a4326dd7c4fbd3ec6d370735d036542acc867598;p=lttng-ci.git diff --git a/pipelines/images/imagebuild.sh b/pipelines/images/imagebuild.sh index 8d164ae..1b36a03 100644 --- a/pipelines/images/imagebuild.sh +++ b/pipelines/images/imagebuild.sh @@ -132,7 +132,10 @@ done # Wait for cloud-init to finish if [[ "${VARIANT}" == "cloud" ]] ; then - lxc exec "${INSTANCE_NAME}" -- cloud-init status -w + # It's possible for cloud-init to fail, but to still be able to continue. + # Eg., a profile asks for netplan.io on a system that doesn't have that + # package available. + lxc exec "${INSTANCE_NAME}" -- cloud-init status -w || true fi # Wait for instance to have an ip address (@TODO: is there a better approach?)