From 75259db4ef6c61532a004ce4a44bd6f7fc66ebf2 Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 8 Oct 2013 16:35:20 -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 a619a80e0..603dfea8a 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -676,6 +676,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