From 636fdb3b8fe582d2ba5da2d8b04276335e8451ab Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 13 Jan 2023 09:38:40 +0100 Subject: debvm-create: remove --package option This option was meant to make it convenient to add packages, but mmdebstrap's --include provides the same convenience at more flexibility. You can provide apt patterns there provided that you use multiple --include options. So rather than duplicate this functionality under a different name, just refer to mmdebstrap thus reinforcing the notion of being a thin wrapper. This also removes the convenience of overriding the kernel image. You need to use --skip=kernel when passing --include=linux-image-something to mmdebstrap now. This implements "explicit is better than implicit". --- useraddhook/customize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'useraddhook/customize.sh') diff --git a/useraddhook/customize.sh b/useraddhook/customize.sh index a4390bd..3bba263 100755 --- a/useraddhook/customize.sh +++ b/useraddhook/customize.sh @@ -13,7 +13,7 @@ # # Example usage: # -# $ debvm-create -p sudo -k ~/.ssh/id_rsa.pub -- --hook-dir=.../useraddhook +# $ debvm-create -k ~/.ssh/id_rsa.pub -- --hook-dir=.../useraddhook --include sudo # $ debvm-run -s 8022 # $ ssh -l user -p 8022 127.0.0.1 whoami # user -- cgit v1.2.3