diff --git a/Makefile b/Makefile index 712ae0c..5bce112 100644 --- a/Makefile +++ b/Makefile @@ -35,8 +35,10 @@ _VOLID := $(firstword $(subst -, ,$(IMAGE_NAME)))-$(ARCH)-$( ifeq ($(findstring redhat.repo,$(REPOS)),redhat.repo) export _RHEL := true +_LORAX_TEMPLATES += $(call get_templates,rhel) else ifeq ($(findstring centos.repo,$(REPOS)),centos.repo) export _RHEL := true +_LORAX_TEMPLATES += $(call get_templates,rhel) else undefine _RHEL endif diff --git a/lorax_templates/rhel_disable_resolver_copy.tmpl b/lorax_templates/rhel_disable_resolver_copy.tmpl new file mode 100644 index 0000000..4064249 --- /dev/null +++ b/lorax_templates/rhel_disable_resolver_copy.tmpl @@ -0,0 +1,2 @@ +append etc/anaconda/conf.d/disable_resolver_copy.conf "[Installation System]" +append etc/anaconda/conf.d/disable_resolver_copy.conf "provides_resolver_config" \ No newline at end of file