diff options
author | Dirk von Suchodoletz | 2011-02-28 22:03:34 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2011-02-28 22:03:34 +0100 |
commit | 8dba399a98b80d5bb6a4a91c38b5bd323b8e7a66 (patch) | |
tree | d2b396aa7682cb877b255fbb43c7bdd8a3fe2e5b | |
parent | Fix the udhcpd.conf generation ... (diff) | |
download | core-8dba399a98b80d5bb6a4a91c38b5bd323b8e7a66.tar.gz core-8dba399a98b80d5bb6a4a91c38b5bd323b8e7a66.tar.xz core-8dba399a98b80d5bb6a4a91c38b5bd323b8e7a66.zip |
Fixing missing quotes bug ...
-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 |