diff options
author | Helmut Grohne <helmut@subdivi.de> | 2023-01-13 09:38:40 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-01-13 09:38:40 +0100 |
commit | 636fdb3b8fe582d2ba5da2d8b04276335e8451ab (patch) | |
tree | 5ec45c229e935a97f6ee7c341648ce68997ee222 /useraddhook/customize.sh | |
parent | 51c511409116cea70d61db5c6baf1325b31329c7 (diff) | |
download | debvm-636fdb3b8fe582d2ba5da2d8b04276335e8451ab.tar.gz |
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".
Diffstat (limited to 'useraddhook/customize.sh')
-rwxr-xr-x | useraddhook/customize.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |