2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2025-12-14 15:03:12 +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

View File

@@ -63,7 +63,7 @@ func NewDockerfile(release OSRelease, img, password string) (Dockerfile, error)
d.tmpl = ubuntuDockerfileTemplate
case ReleaseAlpine:
d.tmpl = alpineDockerfileTemplate
case ReleaseCentOS, ReleaseRHEL:
case ReleaseCentOS:
d.tmpl = centOSDockerfileTemplate
default:
return Dockerfile{}, fmt.Errorf("unsupported distribution: %s", release.ID)