Opened 7 years ago

Closed 7 years ago

#11040 closed defect (fixed)

Hardcoding the MIRROR_HOST to breaks LXC builds

Reported by: gk Owned by: erinn
Priority: Medium Milestone:
Component: Applications/Tor bundles/installation Version:
Severity: Keywords: gitian
Cc: dcf Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


In the pluggable transports descriptor for Windows MIRROR_HOST is hardcocded to "" which breaks LXC builds (as the comment rightly says).

Child Tickets

Change History (3)

comment:1 Changed 7 years ago by dcf

What about this hack, used in bootstrap-fixup?

ip=`hostname --all-ip-addresses | cut -d ' ' -f1 | cut -d. -f1-3`
if [ $ip = "10.0.3" ]; then
    # LXC
    # KVM

I haven't tried an LXC build in a long time.

Last edited 7 years ago by dcf (previous) (diff)

comment:2 Changed 7 years ago by gk

Thanks. Good idea and works for me much better than the thing I was trying first. Fixed in 7db9add35d69e69e3366ff803234c2f9cfc6d3af.

comment:3 Changed 7 years ago by gk

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.