From 029792b699380512e39920271af7ee8482a6c2bd Mon Sep 17 00:00:00 2001 From: John Ogness Date: Tue, 19 Dec 2017 09:36:47 +0100 Subject: README: add information about --layer option Signed-off-by: John Ogness --- lx-trainer-vm/README | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lx-trainer-vm/README b/lx-trainer-vm/README index 67d1266..cff2cc9 100644 --- a/lx-trainer-vm/README +++ b/lx-trainer-vm/README @@ -1,6 +1,6 @@ lx-trainer ========== -v2017-09-18 +v2017-12-19 John Ogness lx-trainer is our disk image for all trainings. @@ -18,8 +18,14 @@ to multiple devices. It will also: - create and format a 2nd partition - move /home/* to the new partition - adjust /etc/fstab to mount the 2nd partition to /home + - unpack any provided layer tarballs The script can be run like this: (Only an example! Verify destination devices *before* running!) - sudo ./dd-multi.sh lx-trainer.img /dev/sde /dev/sdf /dev/sdg + sudo ./dd-multi.sh lx-trainer.img \ + --layer=./stuff1.tar --layer=./stuff2.tar \ + /dev/sde /dev/sdf /dev/sdg + +Layer tarballs are unpacked from within the chroot'd trainer system as +root but using the --numeric-owner option. -- cgit v1.2.3