Skip to content

Commit 5137d7e

Browse files
Ian Southamwilderrodrigues
authored andcommitted
Removed dhcpopts.conf for now as, it is the routing options and they seem to be dealt with dofferently in the new arrangement
Changed the dhcp tests to avoid handing out the broadcast and gateway addresses :)
1 parent f21b90a commit 5137d7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

systemvm/patches/debian/config/opt/cloud/bin/CsDhcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def delete_leases(self, clist):
9696

9797
def configure_server(self):
9898
self.updated = self.updated | CsHelper.addifmissing(CLOUD_CONF, "dhcp-hostsfile=/etc/dhcphosts.txt")
99-
self.updated = self.updated | CsHelper.addifmissing(DNSMASQ_CONF, "dhcp-optsfile=%s:" % DHCP_OPTS)
99+
#self.updated = self.updated | CsHelper.addifmissing(DNSMASQ_CONF, "dhcp-optsfile=%s:" % DHCP_OPTS)
100100
for i in self.devinfo:
101101
if not i['dnsmasq']:
102102
continue

test/systemvm/test_update_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def guest_network(self,config):
219219
# This must happen in order for dnsmasq to be listening
220220
octets = config['router_guest_ip'].split('.')
221221
configs = []
222-
for n in range(10):
222+
for n in range(3,13):
223223
ipb = ".".join(octets[0:3])
224224
ipa = "%s.%s" % (ipb, n)
225225
gw = "%s.1" % ipb

0 commit comments

Comments
 (0)