From b4578aeabe60a5603b5e45118d2f4424e04f8bbc Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 5 Aug 2013 02:23:59 -0700 Subject: [PATCH] comment the useless apt repo in full installation on ubuntu --- xCAT-server/share/xcat/install/scripts/post.ubuntu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/share/xcat/install/scripts/post.ubuntu b/xCAT-server/share/xcat/install/scripts/post.ubuntu index 364d4f198..70583feb4 100644 --- a/xCAT-server/share/xcat/install/scripts/post.ubuntu +++ b/xCAT-server/share/xcat/install/scripts/post.ubuntu @@ -28,6 +28,8 @@ done >>/etc/resolv.conf #change the soft link /bin/sh to /bin/bash ln -sf /bin/bash /bin/sh # +#delete the useless apt repo +sed -i 's/^deb.*updates.*$/#&/g' /etc/apt/sources.list # Run xCAT post install # export MASTER_IP="#XCATVAR:XCATMASTER#"