Updated Branches:
  refs/heads/master 081cfa7b6 -> 5ca4429da

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/5ca4429d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5ca4429d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5ca4429d

Branch: refs/heads/master
Commit: 5ca4429daba5c40261fcc74690c33d5ff7ef643d
Parents: 081cfa7
Author: Bharat Kumar <[email protected]>
Authored: Wed Aug 14 15:36:25 2013 +0530
Committer: Abhinandan Prateek <[email protected]>
Committed: Fri Aug 16 11:10:06 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/5ca4429d/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