File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
systemvm/patches/debian/config Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -460,3 +460,5 @@ log-facility=/var/log/dnsmasq.log
460460# Include a another lot of configuration options.
461461#conf-file=/etc/dnsmasq.more.conf
462462conf-dir=/etc/dnsmasq.d
463+
464+ dhcp-optsfile=/etc/dhcpopts.txt
Original file line number Diff line number Diff line change 2121
2222def merge (dbag , data ):
2323
24- search (dbag , data ['host_name' ])
2524 # A duplicate ip address wil clobber the old value
2625 # This seems desirable ....
2726 if "add" in data and data ['add' ] is False and \
@@ -33,17 +32,3 @@ def merge(dbag, data):
3332 dbag [data ['ipv4_adress' ]] = data
3433 return dbag
3534
36-
37- def search (dbag , name ):
38- """
39- Dirty hack because CS does not deprovision hosts
40- """
41- hosts = []
42- for o in dbag :
43- if o == 'id' :
44- continue
45- print "%s %s" % (dbag [o ]['host_name' ], name )
46- if dbag [o ]['host_name' ] == name :
47- hosts .append (o )
48- for o in hosts :
49- del (dbag [o ])
You can’t perform that action at this time.
0 commit comments