WIP: Add rootfs building and flashing and other misc commands

This commit is contained in:
jld3103 2021-08-05 20:26:48 +02:00
parent 8886725971
commit 1f5357bca6
12 changed files with 410 additions and 11 deletions

15
ssh.py Normal file
View file

@ -0,0 +1,15 @@
import subprocess
import click
from logger import *
@click.command(name='ssh')
@verbose_option
def cmd_ssh(verbose):
setup_logging(verbose)
subprocess.run(['ssh',
'-o', 'GlobalKnownHostsFile=/dev/null',
'-o', 'UserKnownHostsFile=/dev/null',
'-o', 'StrictHostKeyChecking=no',
'kupfer@172.16.42.1'])