diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-12 14:53:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-12 14:53:15 +0200 |
commit | 6e306c77d3bd945dd48fd9746ac1b07610e85f36 (patch) | |
tree | 32272d5c89367cb7df7433a02d9716cf2dfa901a /bootstrap | |
parent | b665dce0ea1a19c77ef522d3bfafb8210f9455b3 (diff) |
Add support for KVM, monitoring bbot diagnostics
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -155,6 +155,8 @@ if [ "$stage" -eq "1" ]; then pkgs+=",bzip2,xz-utils" pkgs+=",less,nano" + pkgs+=",qemu-kvm,socat" + pkgs+=",g++,pkg-config" sudo debootstrap \ @@ -293,6 +295,7 @@ set -x # addgroup --gid 2000 build adduser --uid 2000 --gid 2000 --home /build --gecos "" --disabled-password build +adduser build kvm echo "build ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/build chmod 0440 /etc/sudoers.d/build @@ -415,6 +418,8 @@ EOF subvol_snapshot -r "$root" "$root-5" fi +exit 0 + # Test. # if [ ! -e /tmp/buildos-state ]; then |