mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
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:
commit
18b3f1b7f6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user