'crc setup -d virtualbox'-驱动程序标志被忽略

时间:2019-12-14 16:39:53

标签: macos openshift

我正在尝试在Mac OS笔记本电脑上设置crc:

$ crc setup --help
Set up local virtualization and networking infrastructure for the OpenShift cluster

Usage:
  crc setup [flags]

Flags:
  -h, --help               help for setup
  -d, --vm-driver string   The driver to use for the OpenShift cluster. Possible values: [hyperkit virtualbox] (default "hyperkit")
  ...

但是,似乎该标志已被忽略,并尝试设置HyperKit:

$ crc setup -d virtualbox
INFO Checking if running as non-root
INFO Caching oc binary
INFO Setting up virtualization with HyperKit
...

crc版本:

$ crc version
crc version: 1.2.0+c2e3c0f
OpenShift version: 4.2.8 (embedded in binary)

我的Mac是版本:

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G95

有人知道为什么会忽略crc -d标志并使用Hyperkit设置crc吗?

1 个答案:

答案 0 :(得分:1)

已删除对VirtualBox的支持https://github.com/code-ready/crc/issues/838