Hello, Are you behind any firewall or proxy that may be stopping this to work? Or do you need to define a proxy?
Please try this: curl -L https://atlas.hashicorp.com/cbednarski/ubuntu-1404.json If that works, then I would suggest reinstall vagrant on that machine. If after reinstall the issue remians then try this: for cmd.exe set VAGRANT_LOG=debug for bash export VAGRANT_LOG=debug then: vagrant up And share the generated text over a gist. (gist.github.com) Thanks Alvaro. On Tue, May 31, 2016 at 7:58 AM, BRIT <buildingreliableitsoluti...@gmail.com > wrote: > So perhaps this is something wrong with my (recently built) Ubuntu system, > but I can't add *any* public or private boxes from hashicorp. > > cd ~/vagrant > mkdir ama > cd ama > vagrant init cbednarski/ubuntu-1404 > vagrant up > [ error message : vm: > * The box 'cbednarski/ubuntu-1404' could not be found. > ] > vagrant box add cbednarski/ubuntu-1404 https:// > atlas.hashicorp.com/cbednarski/boxes/ubuntu-1404 > [ error message : The box failed to unpackage properly. Please verify > that the box > file you're trying to add is not corrupted and try again. The > output from attempting to unpackage (if any): > > bsdtar: Error opening archive: Unrecognized archive format] > > > I'm obviously doing something very wrong here. This is the first time that > I've attempted to use vagrant with Ubuntu, so is there something additional > that I need to do?? > > > On Thursday, May 26, 2016 at 8:36:19 PM UTC-7, BRIT wrote: >> >> Hi all, >> I'm running VirtualBox (5.0.20) under Windows 10 and have a quick >> question about creating a package box from VirtualBox guest. >> >> >> 1. My Ubuntu 14.04.4 guest I configure with a single NIC (attached to >> NAT) and then I go through and install the OS, VirtualBox Guest Additions >> etc etc. to get it to a good point that I will use as a base package. >> We'll assume that I've called my VirtualBox guest "UbuntuBasePackage". >> 2. I create a folder *C:\Vagrant\Boxes* and through a command prompt, >> enter that folder >> 3. I create a text file (*UbuntuBasePackage.txt*) that will be used >> as the initial provisioning (I hope that's the correct term) Vagrantfile >> for the package. The text file contains a custom SSH username ("*bob*") >> and >> password that I'll use within my boxes. It looks like this: >> 4. >> >> # -*- mode: ruby -*- >> # vi: set ft=ruby : >> >> Vagrant.configure(2) do |config| >> config.vm.box = "file://D://Vagrant//Boxes//UBP.box" >> config.vm.define "UBP" >> config.vm.provider "virtualbox" do |v| >> v.name = "UBP" >> v.memory = 1024 >> v.cpus = 1 >> end >> config.ssh.username = "bob" >> config.ssh.password = "bobbob" >> end >> >> 5. I then create my base package using the following command >> 1. *vagrant package --base UbuntuBasePackage --output UBP.box >> --vagrantfile UBP.txt* >> 6. All goes great. >> 7. Now I create *C:\Vagrant\UBP* and through a command prompt, enter >> that folder >> 8. I now initialize my new box with the following >> 1. *vagrant init C:\Vagrant\Boxes\UBP.box* >> 9. All goes great and a Vagrantfile appears in the UBP folder. >> 10. It's at this point that developers would potentially customize >> the box to their own environments, so my instructions are to edit the new >> Vagrantfile to look something like this >> 11. >> >> # -*- mode: ruby -*- >> # vi: set ft=ruby : >> Vagrant.configure(2) do |config| >> config.vm.box = "C:/Vagrant/Boxes/UBP.box" >> config.vm.network "private_network", ip: "192.168.56.40" >> config.vm.define "UBP" >> config.vm.provider "virtualbox" do |v| >> v.name = "UBP" >> v.memory = 1024 >> end >> end >> >> 12. *Please note* the configuration of the *additional >> private_network interface*! >> 13. Once the file is saved, we start the guest up with the normal *vagrant >> up*. >> 1. I notice that the log shows that Adapter 1: nat and Adapter 2: >> hostonly >> 14. All is just fine, but I've noticed that there are some >> interesting results when it comes to the networking. >> 1. I can (from the host) SSH into the 192.168.56.40 address - >> great! >> 2. I can (from the host) access a WWW server from 192.168.56.40 - >> great! >> 3. From the guest, I run *ifconfig* and notice that my eth1 (2nd >> "HostOnly" NIC) is configured with a DHCP address of 192.168.56.101 >> 4. I can (from the host) now access both SSH and WWW from >> 192.168.56.101 >> 15. I check the /etc/network/interfaces file and sure enough, there's >> a couple of additional entries >> >> # This file describes the network interfaces available on your system >> # and how to activate them. For more information, see interfaces(5). >> >> # The loopback network interface >> auto lo >> iface lo inet loopback >> >> # The primary network interface >> auto eth0 >> iface eth0 inet dhcp >> >> *auto eth1* >> *iface eth1 inet dhcp* >> #VAGRANT-BEGIN >> # The contents below are automatically generated by Vagrant. Do not >> modify. >> auto eth1 >> iface eth1 inet static >> address 192.168.56.40 >> netmask 255.255.255.0 >> #VAGRANT-END >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I check the original UbuntuBasePackage server within VirtualBox, and >> there's the loopback and eth0 assigned as I expect. I can understand the >> *Vagrant >> begin* being added to the file and indeed, that's the IP address that >> was set in the Vagrantfile, but where's the initial request for DHCP coming >> from (in *bold*)? >> > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vagrant-up+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/122c93d6-1302-46a8-99ff-abf61a8f53e0%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/122c93d6-1302-46a8-99ff-abf61a8f53e0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezvJMxZu7Bzga2pY-%2BLWzqGZ5H_a-wsgYpyAZ7hZ2cesg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.