From 1c3b77e9c729e9acb21a104dcc6dfd30198ad873 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Wed, 19 Apr 2017 23:13:33 -0700 Subject: [PATCH] add docker group, small docs update --- README | 4 ++-- fai-kexec | 7 ++++--- fai/config/distro-install-common/end | 2 ++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README b/README index 974fcc8..f939a7d 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Multi-boot/distro btrfs provisioning +PXE install w multi-boot, btrfs & Libreboot support Some things are specific to my home network, and uses files with secrets that are not in this repo. Uses pxe or pxe-kexec (on libreboot, I have @@ -64,7 +64,7 @@ wrt-setup-remote # setup my router in general: dhcp, dns, etc. arch-init-remote # install arch after it's been booted into it's setup env dsfull # install & post-install a new fai distro -fai-kexec # kexec to fai tftp server that pxe would normally point to +fai-kexec # Kexec this or a remote machine using host faiserver arch-revm # test arch install on a fresh vm fai-revm # test fai install on a fresh vm live-kexec # fai kexec from upstream live cds, e.g. curl live-kexec|bash diff --git a/fai-kexec b/fai-kexec index a49abe1..ae59f7c 100755 --- a/fai-kexec +++ b/fai-kexec @@ -22,10 +22,11 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR usage() { cat <<'EOF' usage: $0 [-h|--help] [SERVER] -kexec to SERVER (faiserver by default), pxe boot from it's tftp server +Kexec this or a remote machine using host faiserver -This does what pxe would do, but skipping boot sequence up to and -including the pxe dhcp. +If SERVER argument, ssh to root@SERVER before doing kexec. This does +what pxe would do, but skipping boot sequence up to and including the +pxe dhcp. EOF exit $1 diff --git a/fai/config/distro-install-common/end b/fai/config/distro-install-common/end index 90082de..3b07687 100755 --- a/fai/config/distro-install-common/end +++ b/fai/config/distro-install-common/end @@ -61,6 +61,8 @@ fi # comparing ian's groups to traci, I see none she should join on arch $ROOTCMD usermod -a -G traci ian +getent group docker &>/dev/null || groupadd -r docker +usermod -a -G docker ian # based on unison error, with 8192 from # sysctl -a | grep fs.inotify.max_user_watches -- 2.30.2