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