summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-09-01 16:24:44 +0200
committerMartin Basti <mbasti@redhat.com>2015-09-02 13:21:02 +0200
commit7b3bd4e85d7d0358d7ee969bd9197358fd948798 (patch)
tree337215b6e44dfec648a8eb046013d5f318746f7d
parent740f7fd817b399dd1a546a20ab260ea3a6cd4ed2 (diff)
downloadfreeipa-7b3bd4e85d7d0358d7ee969bd9197358fd948798.tar.gz
freeipa-7b3bd4e85d7d0358d7ee969bd9197358fd948798.tar.xz
freeipa-7b3bd4e85d7d0358d7ee969bd9197358fd948798.zip
Backup: back up the hosts file
https://fedorahosted.org/freeipa/ticket/5275 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
-rw-r--r--ipaserver/install/ipa_backup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipaserver/install/ipa_backup.py b/ipaserver/install/ipa_backup.py
index f2b23cd7a..ce5cf9d4f 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)