#!/bin/bash

echo ' ' >> hoho
sed -i '1idefine host{' hoho
sed -i '2iuse                linux-server,host-pnp\n' hoho
sed -i '3ihost_name          '"$1" hoho
sed -i '4icontact_groups     admins' hoho
sed -i '5iaddress            '"$2" hoho
sed -i '6i}' hoho

cat example >> hoho
sed -i -e 's/sd-73131\/Web-Clients/'"$1"'/g' hoho
