Merge #7619: Add missing sudo entry in gitian VM setup.

f41927e Add missing sudo entry in gitian VM setup. (BtcDrak)
This commit is contained in:
Wladimir J. van der Laan 2016-02-29 08:57:42 +01:00
commit 18b3f1b7f6
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 1 additions and 0 deletions

View File

@ -262,6 +262,7 @@ Then set up LXC and the rest with the following, which is a complex jumble of se
# the version of lxc-start in Debian needs to run as root, so make sure # the version of lxc-start in Debian needs to run as root, so make sure
# that the build script can execute it without providing a password # that the build script can execute it without providing a password
echo "%sudo ALL=NOPASSWD: /usr/bin/lxc-start" > /etc/sudoers.d/gitian-lxc echo "%sudo ALL=NOPASSWD: /usr/bin/lxc-start" > /etc/sudoers.d/gitian-lxc
echo "%sudo ALL=NOPASSWD: /usr/bin/lxc-execute" >> /etc/sudoers.d/gitian-lxc
# make /etc/rc.local script that sets up bridge between guest and host # make /etc/rc.local script that sets up bridge between guest and host
echo '#!/bin/sh -e' > /etc/rc.local echo '#!/bin/sh -e' > /etc/rc.local
echo 'brctl addbr br0' >> /etc/rc.local echo 'brctl addbr br0' >> /etc/rc.local