From c1d16e6f777eccbc7189c602fc4cc1596af66f3a Mon Sep 17 00:00:00 2001 From: mischa Date: Sat, 6 Oct 2018 09:55:14 +0200 Subject: [PATCH] dhcpd.conf fix ; --- deploy.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy.sh b/deploy.sh index b08d2aa..9c1446b 100755 --- a/deploy.sh +++ b/deploy.sh @@ -202,13 +202,13 @@ render_dhcpd_conf() { . "$f" _instance=$(check_instance "$f" "$instance") printf "\\thost %s {\\n" "$_instance" - printf "\\t\\thardware ethernet %s\\n" "$(fetch_mac "$MAC_PREFIX" "$(find_vm "$VMS" "$_instance")")" - printf "\\t\\tfixed-address %s\\n" "$(fetch_ip "$IP_PREFIX" "$IP_START" "$(find_vm "$VMS" "$_instance")")" + printf "\\t\\thardware ethernet %s;\\n" "$(fetch_mac "$MAC_PREFIX" "$(find_vm "$VMS" "$_instance")")" + printf "\\t\\tfixed-address %s;\\n" "$(fetch_ip "$IP_PREFIX" "$IP_START" "$(find_vm "$VMS" "$_instance")")" if ! test -f "${IMAGES}/${_instance}.img" - then printf "\\t\\tfilename \"auto_install\"\\n" - else printf "\\t\\tfilename \"auto_upgrade\"\\n" + then printf "\\t\\tfilename \"auto_install\";\\n" + else printf "\\t\\tfilename \"auto_upgrade\";\\n" fi - printf "\\t\\toption host-name \"%s\"\\n" "$hostname" + printf "\\t\\toption host-name \"%s\";\\n" "$hostname" printf "\\t}\\n" clear_variables done