Generally, xCAT recommends to use the mac address to specify the boot
network interface. That means during the genimage, no specific interface
needs be specified, but configure the mac address for node and set
installnic=mac so that during the boot of stateless image, the interface
which specified with the specific 'mac' will be used.

So the problem was that did you configure your node correctly with the mac
and installnic attributes I guess.

If you really want to specify the network interface by yourself, just use
the -i flag anyway.


Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: [email protected]
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   Russell Jones <[email protected]>
To:     [email protected],
Date:   2013/08/31 07:11
Subject:        [xcat-user] missing -i flag from genimage --dryrun



Hi all,

I am following this guide for generating a CentOS 5 image on a CentOS 6
management node:
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Building_a_Stateless_Image_of_a_Different_Architecture_or_OS



When I am running the "genimage --dryrun $osimage", it produces output
that does not include the "-i" flag that specifies $prinic, which is
then used for creating the /etc/sysconfig/network-scripts/ifcfg-$prinic
file by the genimage script. As a result, the image that is generated is
missing ifcfg-eth0 file, and hardeths fails on the node.

Am I missing configuration somewhere that would give me the missing -i
flag for my genimage line?


Thanks!

------------------------------------------------------------------------------

Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to