On Wednesday 28 June 2006 19:22, DongInn Kim wrote: > Hi, > > I realized that mta-config is still using "install_package(@rpms)" which > used to be defined at Package.pm. > Does anyone have a good idea to install some rpms (postfix, exim, or > sendmail with dependent rpms) on OSCAR? > mta-config can not use prereq.cfg because it should install proper MTA > rpms or should not according to whether any MTA is installed on the head > node or not. > (e.g., if any MTA (postfix,exim, or sendmail) is already installed on > the head node, mta-config should not re-install the MTA. But if any MTA > is not installed, it should install postfix, which is a default MTA on > OSCAR) > > So, I don't think it works but I wonder if it is possible to use > smart_install(@pkgs) like install_server. > Do we have any subroutines to install some specific rpms like the > previous "install_packages" ?
Hi DongInn, simply use smart_install, as in scripts/wizard_prep. Why can't you simply add the packages you need to the config.xml file? That is why it is there, in the first line. If you need to install packages in API scripts, something is wrong. Regards, Erich Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
