Backup: back up the hosts file

https://fedorahosted.org/freeipa/ticket/5275

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
Martin Basti committed 2015-09-02 13:21:02 +02:00
1 parent 740f7fd817
commit 7b3bd4e85d
1 file changed
+1
+1
View File
@@ -178,6 +178,7 @@ class Backup(admintool.AdminTool):
paths.DNSSEC_SOFTHSM_PIN_SO, paths.DNSSEC_SOFTHSM_PIN_SO,
paths.IPA_ODS_EXPORTER_KEYTAB, paths.IPA_ODS_EXPORTER_KEYTAB,
paths.IPA_DNSKEYSYNCD_KEYTAB, paths.IPA_DNSKEYSYNCD_KEYTAB,
paths.HOSTS,
) + tuple( ) + tuple(
os.path.join(base, file) os.path.join(base, file)
for base in (paths.NSS_DB_DIR, paths.IPA_NSSDB_DIR) for base in (paths.NSS_DB_DIR, paths.IPA_NSSDB_DIR)