Re: [Tails-dev] Support for modern Vagrant

Delete this message

Reply to this message
Author: David Wolinsky
Date:  
To: The Tails public development discussion list
Subject: Re: [Tails-dev] Support for modern Vagrant
This is an aspect of Tails that's not quite clear to me. Apparently there
is a proxy running inside a VM we have yet to download? :)

Use this before rake build
export TAILS_BUILD_OPTIONS="noproxy"
then rake build


On Tue, Dec 17, 2013 at 10:27 AM, jvoisin <julien.voisin@???> wrote:

>
>
> On 12/17/2013 02:52 PM, David Wolinsky wrote:
> > The vagrant version checker needs to be tweaked. I figured 1.3 <= would
> be
> > the newer Vagrant style. It seems that perhaps we should reduce that to
> 1.2
> > <= ... Looking at the git repo, it would seem that this was introduced
> > during the 1.2.0 development cycle.
> >
> > I'll update the patch, but you can also tweak:
> > vagrant/lib/vagrant_version.rb and find the number 3 and change it to a 2
> Tweaked. Way better:
> jvoisin@kaa 15:23 ~/dev/tails rake build
> Using HTTP proxy: http://squeeze.vagrantup.com:3142
> Bringing machine 'default' up with 'virtualbox' provider...
> [default] Box 'tails' was not found. Fetching box from specified URL for
> the provider 'virtualbox'. Note that if the URL does not have
> a box for this provider, you should interrupt Vagrant now and add
> the box yourself. Otherwise Vagrant will attempt to download the
> full box prior to discovering this error.
> Downloading or copying the box...
> rake aborted!(Rate: 0/s, Estimated time remaining: --:--:--)
> An error occurred while downloading the remote file. The error
> message, if any, is reproduced below. Please fix this error and try
> again.
>
> Could not resolve proxy:
>
> squeeze.vagrantup.com/home/jvoisin/dev/tails/vagrant/lib/vagrant_verified_download.rb:40:in
> `download!'
> <internal:prelude>:10:in `synchronize'
> Tasks: TOP => build => vm:up
> (See full trace by running task with --trace)
> zsh: exit 1     rake build
> jvoisin@kaa 15:27 ~/dev/tails vagrant --version
> Vagrant version 1.2.2
> jvoisin@kaa 15:27 ~/dev/tails

> >
> > Cheers,
> > David
> >
> >
> >
> >
> > On Tue, Dec 17, 2013 at 6:49 AM, jvoisin <julien.voisin@???>
> wrote:
> >
> >>
> >>
> >> On 12/17/2013 10:20 AM, David Wolinsky wrote:
> >>> I use ArchLinux that has support for a more modern version of Vagrant.
> >> I've
> >>> spent a bit of time hacking the source code of Tails to support the
> newer
> >>> version of Vagrant and I think I've maintained support for the older
> >> build
> >>> environment as well. I'd appreciate feedback (including someone running
> >>> this patch against the typical build environment). Note: I have never
> >> coded
> >>> Ruby before, so any feedback is more than welcome :).
> >> Wonderful, I was waiting for this since a long time :)
> >>
> >> Unfortunately:
> >> jvoisin@kaa 11:46 ~/dev/tails rake build
> >> Using HTTP proxy: http://squeeze.vagrantup.com:3142
> >> rake aborted!
> >> There was an error loading a Vagrantfile. The file being loaded
> >> and the error message are shown below. This is usually caused by
> >> a syntax error.
> >>
> >> Path: /home/jvoisin/dev/tails/vagrant/Vagrantfile
> >> Message: uninitialized constant
> >> Vagrant::Action::Box<internal:prelude>:10:in `synchronize'
> >> /home/jvoisin/dev/tails/Rakefile:46:in `new'
> >> /home/jvoisin/dev/tails/Rakefile:46:in `primary_vm'
> >> /home/jvoisin/dev/tails/Rakefile:231:in `block (2 levels) in <top
> >> (required)>'
> >> Tasks: TOP => build => vm:up
> >> (See full trace by running task with --trace)
> >> zsh: exit 1     rake build
> >> jvoisin@kaa 11:46 ~/dev/tails

> >>
> >> I'm using Ubuntu 13.10 x64, and was trying to build on `devel` branch.
> >>
> >>>
> >>> Fyi, this should resolve this issue:
> >>> https://labs.riseup.net/code/issues/6221
> >>>
> >>> Many thanks,
> >>> David
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> tails-dev mailing list
> >>> tails-dev@???
> >>> https://mailman.boum.org/listinfo/tails-dev
> >>>
> >> _______________________________________________
> >> tails-dev mailing list
> >> tails-dev@???
> >> https://mailman.boum.org/listinfo/tails-dev
> >>
> >
> >
> >
> > _______________________________________________
> > tails-dev mailing list
> > tails-dev@???
> > https://mailman.boum.org/listinfo/tails-dev
> >
> _______________________________________________
> tails-dev mailing list
> tails-dev@???
> https://mailman.boum.org/listinfo/tails-dev
>