vagrant up은 "파일 /path/to/base 오류를 열 수 없습니다. centos7 설치에 실패했습니다.

문제 환경: vagtant 가상 머신 이미지 다운로드가 너무 느리고 문제가 해결됨

문제 발생: vagrant up에서 "/path/to/base 파일을 열 수 없습니다.

C:\Vagrant>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'base' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'base' (v0) for provider: virtualbox
    default: Downloading: base
    default:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

해결책:

1. 수정: C:\Users\xxx 아래의 Vagrantfile 파일 config.vm.box 매개
![여기에 그림 설명 삽입](https://img-blog.csdnimg.cn/34c0f070e9574277a3b722b2aafc766e.png
변수 2. 수정: 가상 머신 파일이 있는 디렉터리 아래의 Vagrantfile 파일 config.vm.box 매개변수여기에 이미지 설명 삽입

여기에 이미지 설명 삽입
여기에 이미지 설명 삽입
그렇지 않으면 지정된 이름을 찾을 수 없습니다.

추천

출처blog.csdn.net/Beyonod/article/details/121078209