Environment: CentOS 5.5 and 6.4
I have a request to analyze the hardware before installation to make sure our customers don't install our software on sub-standard server hardware. For example, examining memory, disk space, CPU, network card... So, the %pre section in my ks.cfg file seems like the perfect place to do this??? But, I can't get a command like free to work.... I would like to find out what commands are available in the %pre section and is this the right place to perform hardware analysis before the installation begins???.. If the %pre section of ks.cfg is NOT a good place to do this, then where?? Here is what I've tried so far and I get NO output:
%pre (echo "Analyzing Hardware...") >/dev/tty1 free >/dev/tty1 free_txt=`free -o` (echo "$free_txt") >/dev/tty1 %end
I see 'Analyzing Hardware...' on the screen during the first part of the install but nothing after that.....