[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #11040 [Tor bundles/installation]: Hardcoding the MIRROR_HOST to 10.0.2.2 breaks LXC builds



#11040: Hardcoding the MIRROR_HOST to 10.0.2.2 breaks LXC builds
------------------------------------------+--------------------
     Reporter:  gk                        |      Owner:  erinn
         Type:  defect                    |     Status:  new
     Priority:  normal                    |  Milestone:
    Component:  Tor bundles/installation  |    Version:
   Resolution:                            |   Keywords:  gitian
Actual Points:                            |  Parent ID:
       Points:                            |
------------------------------------------+--------------------

Comment (by dcf):

 What about this hack, used in bootstrap-fixup?
 https://gitweb.torproject.org/builders/gitian-
 builder.git/blob/133cb4320f414cfb1e484149d5bb38b62e6a42bb:/target-bin
 /bootstrap-fixup#l9
 {{{
 if [ $ip = "10.0.3" ]; then
     # LXC
     MIRROR_HOST_ON_GUEST=${MIRROR_HOST_ON_GUEST:-10.0.3.1}
 else
     # KVM
     MIRROR_HOST_ON_GUEST=${MIRROR_HOST_ON_GUEST:-10.0.2.2}
 fi
 }}}
 I haven't tried an LXC build in a long time.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11040#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs