HomePhabricator

Fix Gitian instructions to setup LXC container networking on Debian

Description

Fix Gitian instructions to setup LXC container networking on Debian

Summary:
The current documentation was tested successfully when packets are
cached locally, but the LXC container couldn't any external domain.
After some investigation, the bridge was not linked to the active
network connection by the rc.local script.
This diff adds the instructions to do so.

Test Plan:
Setup the Gitian environment following the documentation.
Check your host can ping google.com:

ping -c 2 google.com

If the ping is not successful, fix you host network connection, else:

cd gitian-builder
sudo lxc-execute -n gitian -f var/lxc.config -- sudo -u root ping -c 2
google.com

Check the ping is successful.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D3187

Details

Provenance
FabienAuthored on Jun 3 2019, 18:09
FabienPushed on Jun 4 2019, 06:34
Reviewer
Restricted Project
Differential Revision
D3187: Fix Gitian instructions to setup LXC container networking on Debian
Parents
rABCc9dc032fea8e: Move WalletRescanner to match Bitcoin Core codebase
Branches
Unknown
Tags
Unknown