Vagrant で Base Box を作成しようとすると `open_http': 404 Not found (OpenURI::HTTPError) が発生する

症状

# vagrant basebox build mycentosbox
[mycentosbox] Downloading vbox guest additions iso v  - http://download.virtualbox.org/virtualbox//VBoxGuestAdditions_.iso
[mycentosbox] Creating an iso directory
[mycentosbox] Checking if isofile VBoxGuestAdditions_.iso already exists.
[mycentosbox] Full path: /root/iso/VBoxGuestAdditions_.iso
/usr/lib/ruby/1.8/open-uri.rb:277:in `open_http': 404 Not found (OpenURI::HTTPError)
        from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
        from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
        from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
        from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
        from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
        from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'
        from /usr/lib64/ruby/gems/1.8/gems/veewee-0.3.7/lib/veewee/provider/core/helper/iso.rb:30:in `download_progress'
        from /usr/lib64/ruby/gems/1.8/gems/veewee-0.3.7/lib/veewee/provider/core/helper/iso.rb:24:in `download_iso'
        from /usr/lib64/ruby/gems/1.8/gems/veewee-0.3.7/lib/veewee/provider/virtualbox/box/helper/guest_additions.rb:11:in `download_vbox_guest_additions_iso'
        from /usr/lib64/ruby/gems/1.8/gems/veewee-0.3.7/lib/veewee/provider/virtualbox/box/build.rb:8:in `build'
        from /usr/lib64/ruby/gems/1.8/gems/veewee-0.3.7/lib/veewee/command/vagrant/build.rb:57:in `execute'
        from /usr/lib64/ruby/gems/1.8/gems/veewee-0.3.7/lib/veewee/command/vagrant/basebox.rb:60:in `execute'
        from /usr/lib64/ruby/gems/1.8/gems/vagrant-1.0.7/lib/vagrant/cli.rb:42:in `execute'
        from /usr/lib64/ruby/gems/1.8/gems/vagrant-1.0.7/lib/vagrant/environment.rb:167:in `cli'
        from /usr/lib64/ruby/gems/1.8/gems/vagrant-1.0.7/bin/vagrant:43
        from /usr/bin/vagrant:23:in `load'
        from /usr/bin/vagrant:23

対処

# sudo /etc/init.d/vboxdrv setup

コメント

このブログの人気の投稿

AppSheet の Data Source に Heroku Postgres を追加したい