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
The following commit(s) were added to refs/heads/debian9-systemvmtemplate by
this push:
new 6dbfb02 fix regression
6dbfb02 is described below
commit 6dbfb023c5b3a3b9a80bb68ebdacd958ce0d8c5c
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]>'].