It was not implemented in genimage command. So you have to set the os, arch
as usual.

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:     xCAT Users Mailing list <[email protected]>,
Date:   2013/07/31 03:54
Subject:        [xcat-user] genimage not using osdistroname



Hi devs,

According to the man page for the osimage table, osdistroname is
supposed to.....:


        osdistroname
                  The name of the OS distro definition.  This attribute
can be used to specify which OS distro to use, instead of using the
osname,osvers,and osarch attributes.



I have this set, however when I try to do a genimage:

[root@csclprd3 postscripts]# genimage v6.3.1-dl-compute
Generating image:
Error: osimage.osvers, osimage.osarch, osimage.profile and
osimage.provmethod must be specified for the image v6.3.1-dl-compute in
the database.


Here's my osdistro table:

#osdistroname,basename,majorversion,minorversion,arch,type,dirpaths,comments,disable

"centos6.3-x86_64","centos","6","3","x86_64","Linux","/install/centos6.3/x86_64",,



An lsdef of my osimage:

Object name: v6.3.1-dl-compute
     groups=all
     imagetype=linux
     osarch=x86_64
     osdistroname=centos6.3-x86_64
     osname=Linux
     osvers=centos6.3
     otherpkgdir=/install/post/otherpkgs/centos6.3/x86_64/
otherpkglist=/install/custom/netboot/centos/v6.3.1-dl-compute.otherpkgs.pkglist

     pkgdir=/install/centos6.3/x86_64/
     pkglist=/install/custom/netboot/centos/v6.3.1-dl-compute.pkglist
     postbootscripts=otherpkgs
postinstall=/install/custom/netboot/centos/v6.3.1-dl-compute.postinstall
postscripts=hardeths,syslog,remoteshell,syncfiles,confignics,nfs_mounts.sh,setupscratch_nextgen.sh,localrepo.sh,sge_execd.sh,setupntp

     profile=v6.3.1-dl-compute
     provmethod=netboot
     rootimgdir=/install/netboot/centos6.3/x86_64/v6.3.1-dl-compute




The only way to get past this is to set osvers and osarch. Thoughts?

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

Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to