diff --git a/builder/parallels/common/driver.go b/builder/parallels/common/driver.go index c28f0f9f4..5b91771a3 100644 --- a/builder/parallels/common/driver.go +++ b/builder/parallels/common/driver.go @@ -45,6 +45,11 @@ type Driver interface { func NewDriver() (Driver, error) { var prlctlPath string + if runtime.GOOS != "darwin" { + return nil, fmt.Errorf( + "Parallels builder works only on \"darwin\" platform!") + } + if prlctlPath == "" { var err error prlctlPath, err = exec.LookPath("prlctl")