diff --git a/xCAT/postscripts/ospkgs b/xCAT/postscripts/ospkgs index 0300c8e5a..50fce16db 100755 --- a/xCAT/postscripts/ospkgs +++ b/xCAT/postscripts/ospkgs @@ -23,6 +23,12 @@ #------------------------------------------------------------------------------- debug=0 +if [[ $OSTYPE != linux* ]]; then + #not supported on AIX + echo "ospkgs script only runs on Linux." + exit 0 +fi + # This command only runs by updatenode command if [[ $UPDATENODE -ne 1 ]]; then echo " Did not install any extra rpms."