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