From 0870787779ebcb5d38a8eb6993f37c7bf3cd4101 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 3 Aug 2011 14:01:26 +0000 Subject: [PATCH] add /etc/resolv.conf and /etc/named.conf to the snap git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatsnap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/sbin/xcatsnap b/xCAT-server/sbin/xcatsnap index 7037aab3e..de7c183e5 100755 --- a/xCAT-server/sbin/xcatsnap +++ b/xCAT-server/sbin/xcatsnap @@ -184,7 +184,7 @@ sub snap_it { "/etc/hosts", "/etc/conserver.cf", "/var/log/conserver", "/etc/db_file.cr", "/etc/dhcpsd.cnf", "/var/adm/ras/nimlog", - "/var/log/messages"); + "/etc/resolv.conf", "/etc/named.conf", "/var/log/messages"); } elsif ( $OSname eq "Linux" ) { @@ -194,8 +194,8 @@ sub snap_it { "$INSTALLDIR/postscripts/*", "$INSTALLDIR/prescripts/*", "/tftpboot/*", "/var/log/consoles/*", "/etc/*-release", "/etc/dhcpd.conf", - "/var/lib/dhcpd/dhcpd.leases", "/etc/hosts", - "/etc/conserver.cf", "/var/log/conserver", + "/var/lib/dhcpd/dhcpd.leases", "/etc/hosts", "/etc/resolv.conf", + "/etc/named.conf", "/etc/conserver.cf", "/var/log/conserver", "/etc/nsswitch.conf", "/var/log/messages"); print("@files_array \n"); }