install: add --no-sshd argument (MR 2030)

Allow to disable the sshd service in the target OS, and note at the end
of the installation whether sshd is enabled or not.
This commit is contained in:
Oliver Smith 2021-02-13 12:00:43 +01:00 committed by Martijn Braam
parent 94544b8435
commit 5b01a18cba
No known key found for this signature in database
GPG key ID: C4280ACB000B060F
2 changed files with 44 additions and 0 deletions

View file

@ -50,6 +50,10 @@ def arguments_install(subparser):
ret = subparser.add_parser("install", help="set up device specific"
" chroot and install to SD card or image file")
# Other arguments (that don't fit categories below)
ret.add_argument("--no-sshd", action="store_true",
help="do not enable the SSH daemon by default")
# Image type
group_desc = ret.add_argument_group(
"optional image type",