Windows 10 当devtools安装在不同于/Users的驱动器上时,使用HyperV的微换档启动失败
运行minishift时,是否存在将右侧开发工具安装到D:的已知问题 我安装到D:\DevelopmentTools,它创建了一个C:\Users\rcoe.minishift目录,RHEL iso位于该目录中。配置看起来正确:Windows 10 当devtools安装在不同于/Users的驱动器上时,使用HyperV的微换档启动失败,windows-10,openshift,minishift,Windows 10,Openshift,Minishift,运行minishift时,是否存在将右侧开发工具安装到D:的已知问题 我安装到D:\DevelopmentTools,它创建了一个C:\Users\rcoe.minishift目录,RHEL iso位于该目录中。配置看起来正确: > D:\DevelopmentSuite>minishift config view > - iso-url : file://C:/Users/rcoe/.minishift/cache/iso/minishift-rhe
> D:\DevelopmentSuite>minishift config view
> - iso-url : file://C:/Users/rcoe/.minishift/cache/iso/minishift-rhel7.iso
> - memory : 4096
> - vm-driver : hyperv
然而,当我尝试启动minishift时,它无法定位iso。从错误情况来看,搜索的驱动器/用户不明显。它是否真的会尝试从安装了开发工具的驱动器(即D:)解析/Users
> D:\DevelopmentSuite>minishift start
> -- Checking if Hyper-V driver is installed ... OK
> -- Checking if Hyper-V driver is configured to use a Virtual Switch ... OK
> -- Checking if user is a member of the Hyper-V Administrators group ... OK
> -- Starting local OpenShift cluster using 'hyperv' hypervisor ...
> -- Minishift VM will be configured with ... Memory: 4 GB vCPUs : 2 Disk size: 20 GB
> -- Starting Minishift VM ...... FAIL E0107 11:49:57.549243 3524 start.go:356] Error starting the VM: Error creating the VM. Error
> creating machine: Error in driver during machine creation: open
> /Users/rcoe/.minishift/cache/iso/minishift-rhel7.iso: The system
> cannot find the path specified.. Retrying. Error starting the VM:
> Error creating the VM. Error creating machine: Error in driver during
> machine creation: open
> /Users/rcoe/.minishift/cache/iso/minishift-rhel7.iso: The system
> cannot find the path specified.
已知问题,或者单独的配置条目可以解决此问题
我是从cmd外壳上运行的。我在HyperV管理员组中
谢谢,
罗宾迟做总比不做好。虽然我不知道这其中的原因(坦率地说,这看起来不像任何人知道),但它与此有关: 但是,在线程上提出的修复方案都不能自行工作。您需要做的是:
minishift.exe
放在%USERPROFILE%
文件夹所在的驱动器的根目录下cd F:\
./minishift.exe start