Commit 30d25a1c authored by Björn's avatar Björn

adding

parent f9d22599
......@@ -21,6 +21,7 @@ import os
import subprocess
import paramiko
import platform
import termcolor
from src.sendmail import Sendmail
from src.config import Config
......
#!/usr/bin/env python3
#
# usage: storagebox.py [-h] [-c CONFIG] command
#
# positional arguments:
# command add|remove
#
# optional arguments:
# -h, --help show this help message and exit
# -c CONFIG, --config CONFIG full path to config-file
#
#
......@@ -19,7 +26,7 @@ from termcolor import colored
#
# * add ssh-key
# * remove ssh-key
# * update storagebox
# * update storagebox authorized_keys
#
#
class Storagebox(Config):
......@@ -205,7 +212,7 @@ class Storagebox(Config):
host = self._config.get('default', 'remote_host').split('@')[1]
print('')
print('Please ' + self._args.command + ' in ~/.config')
print(colored('Please ' + self._args.command + ' in ~/.config', 'yellow'))
print('')
print('Host ' + host)
print(' HostName ' + host)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment