summaryrefslogtreecommitdiffstats
path: root/cobbler/action_litesync.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/action_litesync.py')
-rw-r--r--cobbler/action_litesync.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/action_litesync.py b/cobbler/action_litesync.py
index 825bcbe..c08690b 100644
--- a/cobbler/action_litesync.py
+++ b/cobbler/action_litesync.py
@@ -97,6 +97,8 @@ class BootLiteSync:
if system is None:
raise cexceptions.CobblerException("error in system lookup")
# rebuild system_list file in webdir
+ self.sync.regen_ethers() # /etc/ethers, for dnsmasq & rarpd
+ self.sync.regen_hosts() # /var/lib/cobbler/cobbler_hosts, pretty much for dnsmasq
self.sync.write_listings()
# write the PXE and YAML files for the system
self.sync.write_all_system_files(system)