From 44482e2510bb96e52a22b469d7ceee6ecee50710 Mon Sep 17 00:00:00 2001 From: chudegao Date: Mon, 19 Jan 2015 14:28:17 +0800 Subject: [PATCH] fix 4520,stateless hit grub for ubuntu --- xCAT/postscripts/ospkgs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/ospkgs b/xCAT/postscripts/ospkgs index 5b51e9996..618d8ed8c 100755 --- a/xCAT/postscripts/ospkgs +++ b/xCAT/postscripts/ospkgs @@ -695,7 +695,7 @@ elif ( pmatch "$OSVER" "ubuntu*" ); then # but keeping this here doesn't really hurt. Anything that looks like a group will # be installed as though it were a package.) if [ -n "$groups" ]; then - command="$ENVLIST apt-get -q -y --force-yes install $groups" + command="$ENVLIST apt-get -q -y --force-yes install --no-install-recommends $groups" echo "=== $command" eval $command R=$? @@ -706,7 +706,7 @@ elif ( pmatch "$OSVER" "ubuntu*" ); then # install packages if [ -n "$pkgs" ]; then - command="$ENVLIST apt-get -q -y --force-yes install $pkgs" + command="$ENVLIST apt-get -q -y --force-yes install --no-install-recommends $pkgs" echo "=== $command" eval $command R=$?