vagrant upができない
Q&A
Closed
解決したいこと
vagrant upを実行すると発生している問題・エラーの表示がします。
ミラーリストが原因なのが分かるのですが、どこでどのように修正すればいいのかがわからないず、記事等を見てもわからなかったのでわかりやすく
解決方法を教えてください。
発生している問題・エラー
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Unmounting Virtualbox Guest Additions ISO from: /mnt
umount: /mnt: not mounted.
該当するソースコード
C:\Users\desse\Desktop\SampleVagrant\centos8>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'bento/centos-8' version '202112.19.0' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
[default] GuestAdditions versions on your host (6.1.32) and guest (6.1.30) do not match.
CentOS Linux 8 - AppStream 29 B/s | 38 B 00:01
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Unmounting Virtualbox Guest Additions ISO from: /mnt
umount: /mnt: not mounted.
==> default: Checking for guest additions in VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
umount /mnt
Stdout from the command:
Stderr from the command:
umount: /mnt: not mounted.
0