On 2018-12-08, Wolfgang Schweer wrote: > On Fri, Dec 07, 2018 at 09:25:54AM +0100, Vagrant Cascadian wrote: >> I'd prefer to call the argument --use-nfs or --nfs-root instead, though. > > Yes, --nfs-root is way better. > >> You should be able to create "$ROOT/etc/ltsp/update-kernels.conf.d/nfs" >> instead of editing update-kernels.conf in-place. > > While this is working, the directory has to be created before; patch > attached, please check.
Thanks for testing and good catch! I had thought about that and apparently didn't manage to commit it. I'll also use "mkdir -p" just in case the directory already exists. live well, vagrant > From 7e2e4f26bb5fe82bcbc172f6eee2d3cd065be493 Mon Sep 17 00:00:00 2001 > From: Wolfgang Schweer <wschw...@arcor.de> > Date: Sat, 8 Dec 2018 11:08:47 +0100 > Subject: [PATCH] Debian: ltsp-client-builder: Create directory > update-kernels.conf.d to be able to write the update-kernels.conf.d/nfs file. > > --- > .../ltsp/plugins/ltsp-build-client/Debian/095-squashfs-image | 1 + > 1 file changed, 1 insertion(+) > > diff --git > a/server/share/ltsp/plugins/ltsp-build-client/Debian/095-squashfs-image > b/server/share/ltsp/plugins/ltsp-build-client/Debian/095-squashfs-image > index 6ebafb58..b8abebba 100644 > --- a/server/share/ltsp/plugins/ltsp-build-client/Debian/095-squashfs-image > +++ b/server/share/ltsp/plugins/ltsp-build-client/Debian/095-squashfs-image > @@ -23,6 +23,7 @@ case "$MODE" in > ;; > after-install) > if [ "True" = "$NFS_ROOT" ]; then > + mkdir $ROOT/etc/ltsp/update-kernels.conf.d > echo 'BOOT_METHODS="NFS NBD AOE"' > > $ROOT/etc/ltsp/update-kernels.conf.d/nfs > fi > ;; > -- > 2.20.0.rc2
signature.asc
Description: PGP signature