Changeset 774
- Timestamp:
- 09/04/08 13:03:50 (3 months ago)
- Files:
-
- 1 modified
-
ares/trunk/ares.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ares/trunk/ares.py
r773 r774 256 256 aug.set(cfg + '/conf-dir', '/etc/dnsmasq.d') 257 257 258 os.mkdir(self._ares.root + 'etc/dnsmasq.d') 259 net='.'.join(self._ares.net.split('.')[0:3]) 260 cfg = open(self._ares.root + 'etc/dnsmasq.d/ares.conf', 'w+') 261 cfg.write("dhcp-range=%s.10,%s.100,12h\n" % (net,net)) 262 cfg.close() 263 258 264 # 259 265 # Hosts
