rhtyd commented on a change in pull request #2211: CLOUDSTACK-10013: Migrate
systemvmtemplate to Debian9
URL: https://github.com/apache/cloudstack/pull/2211#discussion_r158494303
##########
File path: systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py
##########
@@ -70,8 +70,8 @@ def configure_server(self):
continue
device = i['dev']
ip = i['ip'].split('/')[0]
- sline = "dhcp-range=interface:%s,set:interface-%s-%s" % (device,
device, idx)
- line = "dhcp-range=interface:%s,set:interface-%s-%s,%s,static" %
(device, device, idx, ip)
+ sline = "dhcp-range=set:interface-%s-%s" % (device, idx)
Review comment:
Per the new dnsmasq syntax, it is required to remove the old syntax that
specific the interface.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services