#!/bin/sh # Nico Schottelius # 2020-06-14 set -e set -x if [ $# -ne 2 ]; then echo "$0 viirb-ip-address viirb-id" echo " viirb-ip-address: where to find the viirb" echo " viirb-id: number in decimal format" exit 1 fi viirb_ip=$1; shift id=$1; shift viirb_hostname=viirb${id} root_password=$(pwgen -1 32) cat <