forked from Mirror/pmbootstrap
pmb.sideload: support non-standard SSH port (!2046)
This can be used for example to sideload packages to pmbootstrap's QEMU which is running on the port 2222 by default, as follows: pmbootstrap sideload --host localhost --port 2222 --user user <pkg> This adds a `--port` parameter to sideload subcommand. If not specified, port defaults to 22.
This commit is contained in:
parent
57c830c410
commit
2b620a0fdd
3 changed files with 19 additions and 11 deletions
|
@ -185,6 +185,9 @@ def arguments_sideload(subparser):
|
|||
ret.add_argument("--host", help="ip of the device over wifi"
|
||||
" (defaults to 172.16.42.1)",
|
||||
default="172.16.42.1")
|
||||
ret.add_argument("--port", help="SSH port of the device over wifi"
|
||||
" (defaults to 22)",
|
||||
default="22")
|
||||
ret.add_argument("--user", help="use a different username than the"
|
||||
" one set in init")
|
||||
ret.add_argument("--arch", help="use a different architecture than the one"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue