diff --git a/libmachine/provision/debian.go b/libmachine/provision/debian.go index ce8bcc5e17..506fe627ee 100644 --- a/libmachine/provision/debian.go +++ b/libmachine/provision/debian.go @@ -33,6 +33,10 @@ func (provisioner *DebianProvisioner) String() string { return "debian" } +func (provisioner *DebianProvisioner) CompatibleWithHost() bool { + return provisioner.OsReleaseInfo.ID == provisioner.OsReleaseID || provisioner.OsReleaseInfo.IDLike == provisioner.OsReleaseID +} + func (provisioner *DebianProvisioner) Package(name string, action pkgaction.PackageAction) error { var packageAction string