vagrant upしようとするとエラーがでる


Mervericksにしたらvagrantではまり中です(☝ ՞ਊ ՞)

vagrant upでエラーがでました

boxをaddしてからのvagrant upです。

vagrant up
The local file Vagrant uses to store data “.vagrant” already exists
and is a directory! If you are in your home directory, then please run
this command in another directory. If you aren’t in a home directory,
then please rename “.vagrant” to something else, or configure Vagrant
to use another filename by modifying `config.vagrant.dotfile_name`.

なにこれ:(;゙゚’ω゚’):

.vagrant/を削除

Vagrantfileと同じディレクトリにある.vagrant/を削除します。

rm -rf .vagrant

消しました

vagrant upを実行

もういちどvagrant upです

vagrant up
[default] Importing base box ‘centos64’…
[default] Matching MAC address for NAT networking…
[default] Clearing any previously set forwarded ports…
[default] Forwarding ports…
[default] — 22 => 2222 (adapter 1)
[default] Creating shared folders metadata…
[default] Clearing any previously set network interfaces…
[default] Preparing network interfaces based on configuration…
[default] Booting VM…
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.

Guest Additions Version: 4.2.16
VirtualBox Version: 4.2.18

たちあがりました。やったね(☝ ՞ਊ ՞)


コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です