590d18
From 89b5a01486f8a5200323c753f6ac278d089ba05e Mon Sep 17 00:00:00 2001
590d18
From: Martin Basti <mbasti@redhat.com>
590d18
Date: Tue, 1 Sep 2015 16:24:44 +0200
590d18
Subject: [PATCH] Backup: back up the hosts file
590d18
590d18
https://fedorahosted.org/freeipa/ticket/5275
590d18
590d18
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
590d18
---
590d18
 ipaserver/install/ipa_backup.py | 1 +
590d18
 1 file changed, 1 insertion(+)
590d18
590d18
diff --git a/ipaserver/install/ipa_backup.py b/ipaserver/install/ipa_backup.py
590d18
index 0ba44b280dfb7c9d9cbbe2470392c3c98ef35bcc..8df1005a222220a0ece95a3691766ed3cd00a0d9 100644
590d18
--- a/ipaserver/install/ipa_backup.py
590d18
+++ b/ipaserver/install/ipa_backup.py
590d18
@@ -178,6 +178,7 @@ class Backup(admintool.AdminTool):
590d18
         paths.DNSSEC_SOFTHSM_PIN_SO,
590d18
         paths.IPA_ODS_EXPORTER_KEYTAB,
590d18
         paths.IPA_DNSKEYSYNCD_KEYTAB,
590d18
+        paths.HOSTS,
590d18
     ) + tuple(
590d18
         os.path.join(base, file)
590d18
         for base in (paths.NSS_DB_DIR, paths.IPA_NSSDB_DIR)
590d18
-- 
590d18
2.5.1
590d18