On 02/10/2016 12:09 AM, Christopher Samuel wrote:
> Welcome!
Thanks for your answer.
[And sorry for the 2 duplicates of my orignal post (that's what happens
when a former postfix/dovecot admin like me is forced to use exchange
(and its forced outgoing address) ;-))].
> chdef -t group provmethod=${NEWOSIMAGE}
>
> to set that to a new value, then you can do "nodeset compute osimage"
> and you're ready to reboot.
I know about provmethod. But it seems to me that it doesn't provide a
way to instruct xcat to perform *serveral* actions (bmcsetup, then
runimage, then boot osimage) at deploy time as a tabedit of chain can
with an entry like :
"compute",,,"runcmd=bmcsetup,osimage=centos6.7-x86_64-netboot-compute",,,
Am I missing something ?
> We also use postinstall scripts that run when building the osimage
> itself - BUT YOU HAVE TO BE CAREFUL - they run outside of the chroot!
>
> For instance:
>
> [root@snowy-m ~]# lsdef -t osimage rhel67_gpfs35027 -i postinstall
> Object name: rhel67_gpfs35027
>
> postinstall=/install/postinstall/02-VLSCIsyncfiles.post,/install/postinstall/add-usr-local.post,/install/postinstall/munge.post,/install/postinstall/ldap.post,/install/postinstall/gpfs.post,/install/postinstall/slurm.post,/install/postinstall/tmpfs.post,/install/postinstall/haveged.post,/install/postinstall/irqbalance.post
I guess those are the postinstall scripts you mention later in your
message. But I don't see any reference to postinstall scripts in a
stateless setup : is that a statefull or statelite feature only ? I've
read only about postscript and postbootscripts.
> No, they don't get run during genimage at all, that's what the postinstall
> scripts are for in this case.
I thought rpm's were installed inside the image with a yum command
(installing inside the chroot) via the /install/postscripts/ospkgs
postscript.
That would make sense but then why wouldn't *every* postscripts
(associated with the osimage object) be run in a similar manner by
genimage ?
This would, for some, make less sense to me, thus my confusion.
Thanks
--
Thomas HUMMEL
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user