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

Patch attached
From 15e3e4f832507538fcee7c0f8d4ce97a3a437164 Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Tue, 1 Sep 2015 16:24:44 +0200
Subject: [PATCH] Backup: back up the hosts file

https://fedorahosted.org/freeipa/ticket/5275
---
 ipaserver/install/ipa_backup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ipaserver/install/ipa_backup.py b/ipaserver/install/ipa_backup.py
index f2b23cd7a35381717ee636d14985dee606dee500..ce5cf9d4f3670bc162f588ee6b2095519410175e 100644
--- a/ipaserver/install/ipa_backup.py
+++ b/ipaserver/install/ipa_backup.py
@@ -178,6 +178,7 @@ class Backup(admintool.AdminTool):
         paths.DNSSEC_SOFTHSM_PIN_SO,
         paths.IPA_ODS_EXPORTER_KEYTAB,
         paths.IPA_DNSKEYSYNCD_KEYTAB,
+        paths.HOSTS,
     ) + tuple(
         os.path.join(base, file)
         for base in (paths.NSS_DB_DIR, paths.IPA_NSSDB_DIR)
-- 
2.4.3

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to