mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-27 02:35:37 -04:00
WIP: Add rootfs building and flashing and other misc commands
This commit is contained in:
parent
8886725971
commit
1f5357bca6
12 changed files with 410 additions and 11 deletions
15
ssh.py
Normal file
15
ssh.py
Normal 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'])
|
Loading…
Add table
Add a link
Reference in a new issue