mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
truncate at 32
This commit is contained in:
parent
237ff3e130
commit
1e037ea989
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -31,7 +31,7 @@ _LORAX_TEMPLATES := $(call get_templates,install)
|
||||||
_REPO_FILES := $(subst /etc/yum.repos.d,repos,$(REPOS))
|
_REPO_FILES := $(subst /etc/yum.repos.d,repos,$(REPOS))
|
||||||
_TEMP_DIR := $(shell mktemp -d)
|
_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
|
_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)
|
ifeq ($(findstring redhat.repo,$(REPOS)),redhat.repo)
|
||||||
export _RHEL := true
|
export _RHEL := true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue