distro/rhel9: remove unnecessary appendRHSM()
Has no effect since it's already applied by previously called functions.
This commit is contained in:
parent
fa1bc48840
commit
b8ec2cb09d
1 changed files with 0 additions and 3 deletions
|
|
@ -415,9 +415,6 @@ func mkEc2ImgTypeX86_64(osVersion string, rhsm bool) imageType {
|
|||
func mkAMIImgTypeX86_64(osVersion string, rhsm bool) imageType {
|
||||
it := amiImgTypeX86_64
|
||||
ic := defaultAMIImageConfigX86_64(osVersion, rhsm)
|
||||
if rhsm && common.VersionLessThan(osVersion, "9.1") {
|
||||
ic = appendRHSM(ic)
|
||||
}
|
||||
it.defaultImageConfig = ic
|
||||
return it
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue