Sha256: 7ff9b7c7075ff6f80c4f2d02be2e277af8e8f3847c4cf8c700b5e90e0d6f2cff
Contents?: true
Size: 391 Bytes
Versions: 3
Compression:
Stored size: 391 Bytes
Contents
module VagrantPlugins module Parallels module Util module Common # Determines whether the VM's box contains a macOS guest for an Apple Silicon host. # In this case the image file ends with '.macvm' instead of '.pvm' def is_macvm(env) return !!Dir.glob(env[:machine].box.directory.join('*.macvm')).first end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vagrant-parallels-2.3.1 | lib/vagrant-parallels/util/common.rb |
vagrant-parallels-2.3.0 | lib/vagrant-parallels/util/common.rb |
vagrant-parallels-2.2.6 | lib/vagrant-parallels/util/common.rb |