mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
don't copy resolve.conf
This commit is contained in:
parent
9661a15f7a
commit
76d14cfaa4
2 changed files with 4 additions and 0 deletions
2
Makefile
2
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
|
||||
|
|
|
|||
2
lorax_templates/rhel_disable_resolver_copy.tmpl
Normal file
2
lorax_templates/rhel_disable_resolver_copy.tmpl
Normal file
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue