#!/bin/sh -e
#
# Copyright (C) 2009, 2010, 2012, 2014, 2016, 2017  Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh

. ./clean.sh

test -r $RANDFILE || $GENRANDOM 800 $RANDFILE

echo "I:generating keys and preparing zones"
cd ns1 && $SHELL keygen.sh
