2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2025-12-14 15:03:12 +00:00

cli: improve flags and commands

docs: add README.md and examples
centos/rhel: fix dracut initramfs

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2022-04-21 18:28:50 +02:00
parent c240aac13d
commit 5b8cad6176
22 changed files with 550 additions and 56 deletions

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package docker2vm
package d2vm
import (
"context"
@@ -33,6 +33,7 @@ const (
ReleaseDebian Release = "debian"
ReleaseAlpine Release = "alpine"
ReleaseCentOS Release = "centos"
ReleaseRHEL Release = "rhel"
)
type Release string
@@ -45,7 +46,7 @@ func (r Release) Supported() bool {
return true
case ReleaseAlpine:
return true
case ReleaseCentOS:
case ReleaseCentOS, ReleaseRHEL:
return true
default:
return false