Updated Branches:
  refs/heads/4.2 f856c359e -> 76990612f

CLOUDSTACK-4132 Added the dnsmasq setting update-dhcp-clent to enable clients 
to update DNS records

Signed-off-by: Abhinandan Prateek <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/76990612
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/76990612
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/76990612

Branch: refs/heads/4.2
Commit: 76990612f566b64d234e5e92eefd371a4459bc96
Parents: f856c35
Author: Bharat Kumar <[email protected]>
Authored: Wed Aug 14 15:36:25 2013 +0530
Committer: Abhinandan Prateek <[email protected]>
Committed: Fri Aug 16 11:12:18 2013 +0530

----------------------------------------------------------------------
 patches/systemvm/debian/config/etc/init.d/cloud-early-config | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/76990612/patches/systemvm/debian/config/etc/init.d/cloud-early-config
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config 
b/patches/systemvm/debian/config/etc/init.d/cloud-early-config
index 736234c..4ebc713 100755
--- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config
+++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config
@@ -724,6 +724,8 @@ setup_dnsmasq() {
       then
        echo "$ETH0_IP6 data-server" >> /etc/hosts
   fi
+   sed -i -e "/^dhcp-client-update/d" /etc/dnsmasq.conf
+   echo 'dhcp-client-update' >> /etc/dnsmasq.conf
 }
 
 setup_sshd(){

Reply via email to