From 1e037ea9891fd8b900f1fbf83bd3b652fe1e4aa2 Mon Sep 17 00:00:00 2001 From: Jason Nagin <33561705+JasonN3@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:09:31 +0000 Subject: [PATCH] truncate at 32 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 20bc28de..68442d65 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ _LORAX_TEMPLATES := $(call get_templates,install) _REPO_FILES := $(subst /etc/yum.repos.d,repos,$(REPOS)) _TEMP_DIR := $(shell mktemp -d) _TEMPLATE_VARS := ARCH IMAGE_NAME IMAGE_REPO _IMAGE_REPO_DOUBLE_ESCAPED _IMAGE_REPO_ESCAPED IMAGE_SIGNED IMAGE_TAG REPOS _RHEL VARIANT VERSION WEB_UI -_VOLID := $(firstword $(subst -, ,$(IMAGE_NAME)))-$(ARCH)-$(IMAGE_TAG) +_VOLID := $(shell echo "$(firstword $(subst -, ,$(IMAGE_NAME)))-$(ARCH)-$(IMAGE_TAG)" | cut -c 1-32) ifeq ($(findstring redhat.repo,$(REPOS)),redhat.repo) export _RHEL := true