2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

vagrant up でエラー

Posted at

#症状
以下のエラーを吐く

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'centos6'...
Progress: 90%There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "/path/.vagrant.d/boxes/centos6/0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "centos65-x86_64_1588595215899_51257", "--vsys", "0", "--unit", "9", "--disk", "/path/VirtualBox VMs/centos65-x86_64_1588595215899_51257/box-disk1.vmdk"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/Nozomi/.vagrant.d/boxes/centos6/0/virtualbox/box.ovf...
OK.
0%...
Progress state: NS_ERROR_INVALID_ARG
VBoxManage: error: Appliance import failed
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg *)" at line 1118 of file VBoxManageAppliance.cpp

#原因
Virtual Boxの参照フォルダが間違っていました。
PCを買い替えた際にユーザー名を変更しており、設定を引き継いだVirtual Boxが原因でした。

#対処法
設定からMachine Folderを変更する。
Screen Shot 2020-05-04 at 21.37.02.png

##感想
そのくらい自動でやってくれても.....

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?