Commit graph

18 commits

Author SHA1 Message Date
InsanePrawn
33f4a81981 config: move code from __init__.py into cli.py 2022-11-09 20:19:04 +01:00
InsanePrawn
8ad18c00a6 global: refactor to use config.{file,runtime}.$member instead of config.file["$member"] 2022-11-09 19:39:59 +01:00
InsanePrawn
5b218e64c8 ssh.py: use check_programs_wrap() for ssh and scp binaries 2022-08-20 04:32:33 +02:00
InsanePrawn
1f15d6705c ssh: make alloc_tty=True default for run_ssh_command() 2022-08-16 15:50:14 +02:00
InsanePrawn
9d24065258 ssh.py: fixups, use correct mode for .ssh dir 2022-08-16 00:09:23 +02:00
InsanePrawn
879fd113f0 exec: migrate exec.py to exec/cmd.py 2022-08-15 17:48:42 +02:00
InsanePrawn
0465d1035a forwarding.py and ssh.py: use exec.run_(root_)cmd() 2022-08-15 06:20:56 +02:00
InsanePrawn
068009185c ssh.py: add alloc_tty parameter to run_ssh_command(), add logging 2022-08-11 07:24:48 +02:00
InsanePrawn
539be06e8e Merge branch 'dev' into chroot-bootpart 2022-02-28 05:17:00 +01:00
InsanePrawn
3ed8d379dd Add help strings to all click CMDs 2022-02-13 19:57:04 +01:00
InsanePrawn
2209447af0 ssh: don't fail if a possible key's pubkey file doesn't exist 2021-10-25 20:47:17 +02:00
jld3103
0e07a33968 Add packages sideload feature 2021-10-18 09:00:11 +02:00
Martijn Braam
e1c4eb1ade
ssh: add --user and --host argument
Extra arguments to allow quickly overriding the username and ip address
for the ssh call. Just in case you're connecting over wifi instead of
172.16.42.1
2021-10-13 19:10:21 +01:00
jld3103
a3ab240bcc Fix forwarding and ssh 2021-10-01 12:31:08 +02:00
InsanePrawn
f424e9ce8f Don't wrap in docker for little wrappers like ssh and telnet if the tool is available on the host 2021-09-29 23:49:46 +02:00
InsanePrawn
144acee10f WIP: Improve config parsing, make --verbose and --config-file global options
Bonus: Generalize and reuse cmd_ssh()

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00
jld3103
98040d8a31 Apply formatting 2021-08-08 18:32:42 +02:00
jld3103
1f5357bca6 WIP: Add rootfs building and flashing and other misc commands 2021-08-05 20:26:48 +02:00