Changeset 4405
- Timestamp:
- Apr 25, 2017, 9:03:51 AM (4 years ago)
- Location:
- llx-netinstall/trunk/fuentes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
llx-netinstall/trunk/fuentes/debian/changelog
r3686 r4405 1 llx-netinstall (0.60) xenial; urgency=medium 2 3 * load_exports won't restart dnsmasq by default. 4 zero-server-wizard's 999-final_operations will manage that. 5 6 -- Hector Garcia Huerta <hectorgh@gmail.com> Tue, 25 Apr 2017 09:02:00 +0200 7 1 8 llx-netinstall (0.59) xenial; urgency=medium 2 9 -
llx-netinstall/trunk/fuentes/install.llx-netinstall/usr/share/n4d/python-plugins/NetinstallManager.py
r4397 r4405 54 54 #def test 55 55 56 def load_exports(self ):56 def load_exports(self,restart_dnsmasq=False): 57 57 #Get template 58 58 template_cname = self.tpl_env.get_template("cname") … … 85 85 #Write template values 86 86 n4d_mv(tmpfilepath,'/var/lib/dnsmasq/config/cname-preseed',True,'root','root','0644',True ) 87 #subprocess.Popen(['/etc/init.d/dnsmasq','restart'],stdout=subprocess.PIPE).communicate() 87 if restart_dnsmasq: 88 subprocess.Popen(['systemctl','restart','dnsmasq'],stdout=subprocess.PIPE).communicate() 88 89 return {'status':True,'msg':'Exports written'} 89 90 #def load_exports
Note: See TracChangeset
for help on using the changeset viewer.