more prettify
Change-Id: I601be9ea892c98ddd73fe351868c0264615c596b
diff --git a/deployment/deploy.sh b/deployment/deploy.sh
index b3ee000..4066611 100755
--- a/deployment/deploy.sh
+++ b/deployment/deploy.sh
@@ -30,6 +30,7 @@
}
function generate_ca_config() {
+echo
echo "Load the new configuration file for the CA"
echo "Would you like to allow email challenge for this CA? [Y/N]"
read -r allow_email_challenge
@@ -130,6 +131,13 @@
read -r ca_prefix
echo ""
+echo ""
+echo "==================================================================="
+echo "=="
+echo "== systemd config"
+echo "=="
+echo "==================================================================="
+
echo "Do you want to install ndncert CA for systemd on this machine? [Y/N]"
read -r systemd_install
echo ""
@@ -169,6 +177,13 @@
echo '/var/lib/ndncert-ca is ready, GOOD!'
echo ""
+echo "==================================================================="
+echo "=="
+echo "== anchor certificate generation"
+echo "=="
+echo "==================================================================="
+
+echo ""
echo "Do you want to import an exisitng safebag for $ca_prefix ? [Y/N]"
read -r use_safe_bag
@@ -220,8 +235,22 @@
;;
esac
+echo ""
+echo "==================================================================="
+echo "=="
+echo "== configuration generation"
+echo "=="
+echo "==================================================================="
+
generate_ca_config "$ca_prefix"
+echo ""
+echo "==================================================================="
+echo "=="
+echo "== done"
+echo "=="
+echo "==================================================================="
+
echo "Do you want to start the service now? [Y/N]"
read -r start_now
case $start_now in