前提・実現したいこと
vagrant を用いてcentosでの仮想環境を構築しようとしています.
vagrant init centos/7
を実行後、vagrant upを実行すると
発生している問題・エラーメッセージ
Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'centos/7'... C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/plugins/providers/virtualbox/driver/base.rb:408:in `block in execute': invalid byte sequence in UTF-8 (ArgumentError) from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/lib/vagrant/util/retryable.rb:17:in `retryable' from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/plugins/providers/virtualbox/driver/base.rb:383:in `execute' from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/plugins/providers/virtualbox/driver/version_5_0.rb:311:in `import' from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/plugins/providers/virtualbox/action/import.rb:53:in `import' from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/plugins/providers/virtualbox/action/import.rb:13:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb:17:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/lib/vagrant/action/builtin/prepare_clone.rb:15:in `call'
と大量のエラーメッセージが。。。
とあるページを参考にして、Vagrantfile内に
Encoding.default_external = 'UTF-8'
と追記、
しかしvagrant up実行で再び同様のエラーメッセージが出力されました。
よろしくお願いいたします。
補足情報(バージョンなど)
Windows 10 home
Vagrant 2.1.2
Virtual Box 5.1.38
VagrantfileにUTF-8で許容されない文字がある、とエラー文にあります。Vagrantfileの全文を追記お願いします。
回答1件
あなたの回答
tips
プレビュー