From 4254c4a732c03ea66689f941276ac62aaac6c632 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 12 Sep 2022 16:21:31 -0400 Subject: image-oci-umoci: add convenience symlink to latest image Symlink the date-time based image name, to just the imagename-oci. This makes scripting use of the deployed container much simpler. Signed-off-by: Bruce Ashfield --- classes/image-oci-umoci.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes') diff --git a/classes/image-oci-umoci.inc b/classes/image-oci-umoci.inc index f9417952..7808a68c 100644 --- a/classes/image-oci-umoci.inc +++ b/classes/image-oci-umoci.inc @@ -112,4 +112,6 @@ IMAGE_CMD:oci() { # We could make this optional, since the bundle is directly runnable via runc rm -rf $image_bundle_name + + ln -sf $image_name ${IMAGE_BASENAME}-${OCI_IMAGE_TAG}-oci } -- cgit v1.2.3-54-g00ecf