diff options
-rwxr-xr-x | src/os-plugins/plugins/qemukvm/init-hooks/60-have-servconfig/vm-dhcpd.sh | 2 | ||||
-rwxr-xr-x | src/os-plugins/plugins/vmware/init-hooks/60-have-servconfig/vm-dhcpd.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/os-plugins/plugins/qemukvm/init-hooks/60-have-servconfig/vm-dhcpd.sh b/src/os-plugins/plugins/qemukvm/init-hooks/60-have-servconfig/vm-dhcpd.sh index 06aa8700..8f0aedff 100755 --- a/src/os-plugins/plugins/qemukvm/init-hooks/60-have-servconfig/vm-dhcpd.sh +++ b/src/os-plugins/plugins/qemukvm/init-hooks/60-have-servconfig/vm-dhcpd.sh @@ -20,7 +20,7 @@ testmkd ${CONFDIR} # read the DNS configuration . /mnt/etc/machine-setup -[ -z ${domain_name_servers} ] && domain_name_servers="8.8.8.8" +[ -z "${domain_name_servers}" ] && domain_name_servers="8.8.8.8" # configuring dhcpd stub for virtual networks cat > ${CONFDIR}/udhcpd.conf << EOF diff --git a/src/os-plugins/plugins/vmware/init-hooks/60-have-servconfig/vm-dhcpd.sh b/src/os-plugins/plugins/vmware/init-hooks/60-have-servconfig/vm-dhcpd.sh index 06aa8700..8f0aedff 100755 --- a/src/os-plugins/plugins/vmware/init-hooks/60-have-servconfig/vm-dhcpd.sh +++ b/src/os-plugins/plugins/vmware/init-hooks/60-have-servconfig/vm-dhcpd.sh @@ -20,7 +20,7 @@ testmkd ${CONFDIR} # read the DNS configuration . /mnt/etc/machine-setup -[ -z ${domain_name_servers} ] && domain_name_servers="8.8.8.8" +[ -z "${domain_name_servers}" ] && domain_name_servers="8.8.8.8" # configuring dhcpd stub for virtual networks cat > ${CONFDIR}/udhcpd.conf << EOF |