Skip to content

Commit 6bb3078

Browse files
committed
vz: Warn on rosetta setup if it fails
Signed-off-by: Chance Zibolski <[email protected]>
1 parent 7638316 commit 6bb3078

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/vz/vm_darwin.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,8 @@ func attachFolderMounts(driver *driver.BaseDriver, vmConfig *vz.VirtualMachineCo
349349
if driver.Yaml.Rosetta.Enabled {
350350
logrus.Info("Setting up Rosetta share")
351351
directorySharingDeviceConfig, err := createRosettaDirectoryShareConfiguration()
352-
if errors.Is(err, errRosettaUnsupported) {
352+
if err != nil {
353353
logrus.Warnf("Unable to configure Rosetta: %s", err)
354-
} else if err != nil {
355-
return err
356354
} else {
357355
mounts = append(mounts, directorySharingDeviceConfig)
358356
}

0 commit comments

Comments
 (0)