This is an automated email from the ASF dual-hosted git repository.

bhaisaab pushed a commit to branch debian9-systemvmtemplate
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 7d206e1ba577761288b8f138f0c219ca6c322901
Author: Rohit Yadav <[email protected]>
AuthorDate: Mon Nov 20 22:16:23 2017 +0530

    fix regression
    
    Signed-off-by: Rohit Yadav <[email protected]>
---
 systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py 
b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py
index a2668cf..b645679 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py
+++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py
@@ -70,8 +70,8 @@ class CsDhcp(CsDataBag):
                 continue
             device = i['dev']
             ip = i['ip'].split('/')[0]
-            sline = "set:interface-%s-%s" % (device, idx)
-            line = "set:interface-%s-%s,%s,static" % (device, idx, ip)
+            sline = "dhcp-range=set:interface-%s-%s" % (device, idx)
+            line = "dhcp-range=set:interface-%s-%s,%s,static" % (device, idx, 
ip)
             self.conf.search(sline, line)
             gn = CsGuestNetwork(device, self.config)
             sline = "dhcp-option=tag:interface-%s-%s,15" % (device, idx)

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to