jjhua
fa0d361403
remove the msg and export action, when the attribute could not be got from the table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 08:07:02 +00:00
jjhua
4d3edda0cd
fix a minor bug for osimgname
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 08:45:12 +00:00
jjhua
981e545f62
if the nodehm.xcatmaster is not set, there is a problem. fixed it
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 06:21:36 +00:00
xq2005
cf9050c8b3
fix partition script error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 08:29:42 +00:00
jjhua
300de0daf0
pre-create mypostscript enhancement: move mkdir out of the nodes loop
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 06:55:05 +00:00
jjhua
b16326fdbc
pre-create mypostscript enhancement:remove the functions which are not used. add some error messages, if the attribute is not defined
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:06:57 +00:00
jjhua
d3d34e7957
pre-create mypostscript enhancement: store the servicenode info in the %::GLOBAL_SN_HASH
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:59:40 +00:00
jjhua
d15a2add7a
pre-create mypostscript enhancement: get the noderes.netboot noderes.tftpdir ahead of time for get_nodeset_state in SvrUtils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 01:53:22 +00:00
jjhua
148482344e
pre-create mypostscript enhancement
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 13:49:47 +00:00
jjhua
5c1031647a
Some enhancement to parse the mypostscript.tmpl
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:44:27 +00:00
jjhua
8be6104a56
To support site.precreatemypostscripts=1
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 07:15:19 +00:00
jjhua
521da69833
the subroutines to generate the mypostscript for each node, according to the template mypostscript.tmpl
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:06:48 +00:00
xq2005
40837eb2ed
support pkglist for ubuntu full install
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 08:01:03 +00:00
immarvin
16716de481
set site.nodestatus as a environment variable {NODESTATUS}
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:58:34 +00:00
zhaoertao
e822d0406e
for item: clean up Utils.pm, the code in xCAT-server/lib/per/xCAT/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:00:45 +00:00
jbjohnso
21a301f6af
Explicitly turn on network in templates that suggest network setup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 02:05:53 +00:00
cjhardee
ee984847fb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-05 05:04:07 +00:00
xq2005
179d0c4cc2
specify partition definition: support script for sles
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 10:26:10 +00:00
xq2005
4c5b3ee8b1
specify paritionfile: modify template.pm for sles
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 05:59:35 +00:00
jbjohnso
a6a6e79446
Add feature to Template.pm to facilitate autoula addressing for esxi5 deployments
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-06 21:09:04 +00:00
xq2005
46531485db
specify partition definition: support definition file for sles/suse
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 07:42:13 +00:00
jbjohnso
2e7f1599fe
Have autoula addressing store in hosts.ip for KICKSTARTNET directive
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 20:05:11 +00:00
xq2005
8986a3151a
specify the partition file: add the definition into configure file for rh,SL,CentOS,fedora
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 12:03:03 +00:00
jbjohnso
5383a88a60
Fix problem where ula generation failed to deal properly with hexadecimal
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 18:06:30 +00:00
jbjohnso
1762312121
Add a template directive for mostly FSM use for now, enable a non-dhcp address management scheme
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 16:35:21 +00:00
jjhua
9621b0511f
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:02:09 +00:00
jjhua
59ac4c2b1b
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 06:14:35 +00:00
immarvin
6d0fd8bd7f
initialize the variable XCATROOT when loading the .pm file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 03:17:14 +00:00
ligc
cd3110086c
fix for bug 3487614: Full installation, extract the common code for generating the mypostscript file and make it common across all scripts
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:30:50 +00:00
wanghuaz
a854feea90
Added service node pool for diskful and diskless installation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 06:53:54 +00:00
linggao
a7404f0c24
fixed the problem that gives error when noderes.nfsserver is not set for full disk install
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-06 22:15:50 +00:00
jbjohnso
a312ff54c1
Fix legacy boot breakage by windows uefi support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-30 18:07:03 +00:00
gdbeatles
de7e9c5871
install packages contained in the ubuntu distro media
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-26 13:34:20 +00:00
angli-xcat
00f535776c
To make the code easier to maintain we decided not to select autoyast config template file (compute.sdk.sles11.tmpl/compute.sles11), instead if the user want to do a SDK included full install, he should prepare a customized template from compute.sdk.sles11.tmpl, and copy it to /install/custom directory.
...
This is for SLES 11 SP1 SDK DVD support (Patch 1)
====================================================================
Patch Reason: Design changed, To make the code easier to maintain
we decided not to automate select autoyast config template file
(compute.sdk.sles11.tmpl/compute.sles11),
Patch detail: If the user want to do a SDK DVD included full install,
he/she should prepare a customized template originated from
compute.sdk.sles11.tmpl, and copy it under /install/custom
====================================================================
====================================================================
Target Dist: SLES 11 SP1, for both full install and statelite install
Aim: To enable users to install packages from SDK DVD during installation
user impact: If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
For full install, the user should prepare a .tmpl file for autoyast
By-effect: N/A
Limitations: 2nd installation DVD and 2nd SDK DVD not supported, both carries source packages.
It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-29 10:03:58 +00:00
angli-xcat
03533e3102
This is for SLES 11 SP1 SDK DVD support (Patch 1)
...
====================================================================
Patch Reason: Design changed, to minimize risk when doing a regular
SLES11SP1 full install without SDK DVD copied.
Patch detail: If we do a full install for SLES11SP1, and previously
we did "copycds" with SDK DVD, we use compute.sdk.sles11.tmpl,
otherwise use compute.sles11.tmpl.
====================================================================
====================================================================
Target Dist: SLES 11 SP1, for both full install and statelite install
Aim: To enable users to install packages from SDK DVD during installation
user impact: If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
By-effect: N/A
Limitations: 2nd installation DVD and 2nd SDK DVD not supported, both carries source packages.
It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-28 09:28:21 +00:00
angli-xcat
04cb7483c6
This is for SLES 11 SP1 SDK DVD support
...
====================================================================
Target Dist: SLES 11 SP1, for both full install and statelite install
Aim: To enable users to install packages from SDK DVD during installation
user impact: If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
By-effect: N/A
Limitations: 2nd installation DVD and 2nd SDK DVD not supported, both carries source packages.
It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 03:46:29 +00:00
lissav
27575eae36
Comment out use/require Data:Dumper
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 13:51:09 +00:00
jbjohnso
253b7d4ae7
-Clarify error output on template processing issues on noderanges
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-03 18:05:12 +00:00
linggao
e0902c9f69
bug fix for #3040277 , moved the substitution of some INCLUDESs to Template.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 14:22:28 +00:00
linggao
619a844bc3
package remove support for SLES autoyask configuration file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-04 19:42:56 +00:00
linggao
25507960cd
support patterns for updating sles os packages in updatenode
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 20:20:51 +00:00
daniceexi
91a743e659
add a sentence to handle the #HOSTNAME# keyword in the tmpl file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-20 02:08:09 +00:00
jbjohnso
59186e86c3
-Apply env variable fixes from activedirectory.pm plugin to Template
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-19 21:03:40 +00:00
linggao
0be60e14a1
big fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 18:31:46 +00:00
mellor
3f29590a60
add support for "INCLUDE_PKGLISTS..." keyword for autoyast templates, and "#NEW_INSTALL_LIST#" for otherpkgs postscripts and updatenode
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 17:30:54 +00:00
jbjohnso
d6c6738c45
-Move Template.pm to server package, as client *really* doesn't need it
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-18 13:41:16 +00:00