From eb6cc1d15ce42277e8e2eac02605994f642fb2aa Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 8 Oct 2013 16:22:58 -0400 Subject: [PATCH] fixed bug 3796. At the end of genimage, remove the repositories of zypper. --- xCAT-server/share/xcat/netboot/sles/genimage | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 35af5ee8d..d22bf48eb 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -674,6 +674,8 @@ EOS_UNAME } +system("rm -rf $rootimg_dir/etc/zypp/repos.d/*"); + # output the changed the attributes so that it can be save into db by the caller. # all the information has been gathered # now, update the linuximage and osimage tables