forked from Mirror/pmbootstrap
install: support password as cmdline arg (MR 2125)
So I can finally run `pmbootstrap install --password 147147` and go and make a cup of tea. Based on MR 1919. Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
This commit is contained in:
parent
498738abcc
commit
4c4bd77c87
2 changed files with 41 additions and 10 deletions
|
@ -55,6 +55,10 @@ def arguments_install(subparser):
|
|||
help="do not enable the SSH daemon by default")
|
||||
ret.add_argument("--no-firewall", action="store_true",
|
||||
help="do not enable the firewall by default")
|
||||
ret.add_argument("--password", help="dummy password for automating the"
|
||||
" installation - will be handled in PLAIN TEXT during"
|
||||
" install and may be logged to the logfile, do not use an"
|
||||
" important password!")
|
||||
|
||||
# Image type
|
||||
group_desc = ret.add_argument_group(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue