2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2026-06-09 13:35:45 +00:00

d2vm: remove non working rhel support

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2022-04-21 21:31:57 +02:00
parent 1a97b45861
commit fa3a4f6039
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ func (b *builder) installKernel(ctx context.Context) error {
sysconfig = syslinuxCfgDebian
case ReleaseAlpine:
sysconfig = syslinuxCfgAlpine
case ReleaseCentOS, ReleaseRHEL:
case ReleaseCentOS:
sysconfig = syslinuxCfgCentOS
default:
return fmt.Errorf("%s: distribution not supported", b.osRelease.ID)