No description
Find a file
2019-06-12 21:02:04 -04:00
.gitignore .gitignore updated not to track __pycache__ directory and __pycache__ removed 2019-06-06 19:01:24 +05:00
Pipfile include pyotp 2019-06-12 06:29:38 -04:00
Pipfile.lock add apixu 2019-06-08 19:14:21 +02:00
README.md updated readme 2019-06-11 21:11:27 -04:00
ungleich config to read/store user data in json file 2019-06-11 20:57:55 -04:00
ungleich_account.py added account creation command 2019-05-30 05:23:43 -04:00
ungleich_config.py config to read/store user data in json file 2019-06-11 20:57:55 -04:00
ungleich_dns.py add response print 2019-06-12 21:02:04 -04:00
ungleich_ripe.py update 2019-05-12 12:22:14 +02:00
ungleich_ssh_key.py Add usage description, --bugs 2019-06-08 19:18:37 +02:00
ungleich_weather.py + weather header 2019-06-06 16:15:04 +02:00

ungleich cli

This CLI is used for day-to-day tasks used at ungleich. It is intended to be used by ungleich engineers and skilled customers.

Requirements / Installation

  • ensure you have python3 and pipenv
  • git clone this repo
  • cd into this repo
  • run the following command
pipenv install
pipenv shell

Usage general

ungleich --help

Usage: Weather

ungleich weather

Usage: Config

ungleich config-add \
    --name <otp username>
    --realm <otp realm>
    --seed <otp seed>

Usage: DNS

ungleich dns \
    --set-reverse <ip> 
    --user <user_id> 
    --email <email> 
    --name mirror.example.com

Usage: RIPE

Creating a new route6 object:

ungleich ripe-add-route6 \
    --network 2a09:2947::/32
    --description "First REST /32"
    --password "very secure"

Usage: Account

Creating a new account object:

ungleich account \
    --create-user <username> 
    --name <firstname> 
    --lastname <lastname> 
    --email <email>

Usage: SSH Key

Requires you to have https://code.ungleich.ch/ungleich-public/ungleich-ssh-keys/ checked out in ~/vcs/ungleich-ssh-keys

ungleich sshkey  --key raul.ascencio --host dev.raul.ungleich.cloud