aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-09-07 16:47:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-09-07 16:47:07 +0200
commit770cec3aced3cf4808d15eb8e57c9bcf8416252e (patch)
treeb7aa66b60d01aaf20f2de576acf0fd6d7cee296f /etc
parent9f6b17a091222f8240194ae331f64e92ed2c3c28 (diff)
Fix issues in private brep install README
Diffstat (limited to 'etc')
-rw-r--r--etc/private/README13
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/private/README b/etc/private/README
index 22255ae..39e0df6 100644
--- a/etc/private/README
+++ b/etc/private/README
@@ -58,10 +58,11 @@ to upgrade VM images by simply replacing the old one with a new.
However, to make this arrangement work reliably, the brep user/group IDs on
the host machine must match those inside the VM. As a result, we create the
-brep user with specific IDs:
+brep user/group with specific IDs:
-# addgroup --gid 63700 brep
-# adduser --uid 63700 --gid 63700 --gecos '' --disabled-password brep
+# groupadd --gid 63700 brep
+# useradd --uid 63700 --gid 63700 --create-home brep
+# usermod --lock brep # disable password login (if desired)
Additionally, if your distribution requires users that are allowed to use KVM
to belong to a special group (normally kvm), then add the brep user to this
@@ -80,7 +81,11 @@ $ pwd
/home/brep
$ curl -fO https://download.build2.org/X.Y.Z/linux-debian-N-brep-X.Y.Z.tar.xz
-$ tar xf --strip-components=1 linux-debian-N-brep-X.Y.Z.tar.xz
+$ sha256sum -b linux-debian-N-brep-X.Y.Z.tar.xz
+
+Verify the checksum matches the one from https://build2.org/download.xhtml
+
+$ tar -xf linux-debian-N-brep-X.Y.Z.tar.xz --strip-components=1
$ ls
bin/ etc/ vm/ vm-brep@.service