[xen-tools-discuss] Re: Problems using Rinse with CentOS 5
Steve Kemp
steve at steve.org.uk
Fri Apr 25 18:50:48 CEST 2008
On Fri Apr 25, 2008 at 11:48:06 -0500, Nick Anderson wrote:
> Steve I have a patch that I almost have working for the postinstall
> script.
Great!
> Does the post install script get passed the arch? i need a way
> to get x86_64 or i386 inside that script. If you have a suggestion I can
> get this patch over to you.
yes it does, via $ARCH. For example you should see this in there
already:
arch=i386
if [ $ARCH == "amd64" ] ; then
arch=x86_64
fi
(ie. $ARCH will be either i386 or amd64. I know that most of the mirrors
use x86_64 for the latter case..)
Steve
--
# Commercial Debian GNU/Linux Support
http://www.linux-administration.org/
More information about the xen-tools-discuss
mailing list