You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2017/11/23 09:18:29 UTC
[cloudstack] 16/18: fix regression
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 <ro...@shapeblue.com>
AuthorDate: Mon Nov 20 22:16:23 2017 +0530
fix regression
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
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
"commits@cloudstack.apache.org" <co...@cloudstack.apache.org>.