2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-01 19:17:06 +00:00

59 Commits

Author SHA1 Message Date
yangsong
c49e41da99 support environment variables in osimage customized files (#5281)
* * osimage table schema change: add a "environvar" col in osimage table to hold environment variables used in osimage customized files
* osimage object schema change: add a environvar attribute, which refers to  osimage.environvar
* the environment variables specified in "environvar" attribute will be exported during invocation of postinstall scripts in genimage

* support variables in synclists

* support environment variables in genimage,mkinstall,getpostscript

* support environment variables for xdcp -i -F in packimage
2018-06-15 14:51:41 +08:00
Mark Gurevich
4b0ce18b9d Add DSH_VERIFY environment variable to xdsh command 2017-03-23 15:44:11 -04:00
Mark Gurevich
1463615f3f Changes suggested by comments 2017-03-21 11:45:26 -04:00
Mark Gurevich
4e1d4629a9 Preserve the user ownership of the file for xdcp command 2017-03-20 13:19:39 -04:00
Chuck Brazie
193a9680d4 Fix indentation in xdsh (#1617)
* Merged the zVM changes into some xcat_client files

Change-Id: I3405cede348c63ea6b43ceda4bdfdad0f3a5422a

* Fix indentation in xdsh
2016-08-03 10:38:24 +08:00
yangsong
860b61a7ed Revert "Master client merges for two files from zVM" (#1619) 2016-08-03 10:34:25 +08:00
Chuck Brazie
a21edcdcb5 Merged the zVM changes into some xcat_client files (#1608)
Change-Id: I3405cede348c63ea6b43ceda4bdfdad0f3a5422a
2016-08-03 10:03:15 +08:00
Mark Gurevich
fb911143fe perltidy all perl files, part 2 2016-07-21 13:27:40 -04:00
penguhyang
f6e1f59f3e correct the message to make the output looks neat 2015-11-16 00:09:15 -05:00
lissav
df45650bfb defect 4355 2014-11-04 07:51:04 -05:00
lissav
68f86b703b add sudo xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 14:59:27 +00:00
lissav
2af0eff7ed add -E hierarchy and --fanout support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:45:04 +00:00
lissav
fac10e8032 fix defect 3290
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 11:45:09 +00:00
lissav
32c5e43429 add sudo insterface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 11:53:26 +00:00
lissav
c417e799a7 fix for defect 3249 xdsh -e with relative path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 13:44:51 +00:00
lissav
ef9d529f87 Remove invalid options
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 14:02:26 +00:00
lissav
34f064c024 fix xdcp -l root parsing problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 12:24:06 +00:00
lissav
13e17590b2 support returning nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 17:12:22 +00:00
lissav
dfd66d67ae adding monitor support -m to xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14041 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 11:24:40 +00:00
lissav
61effa015c add support for ENV variable input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 14:49:36 +00:00
zhaoertao
78dd04ac4a fix bug 3556007: modifications related to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 07:36:09 +00:00
lissav
e2b1f70f6b xdsh -c cleans up both the SNsyncfiledir and the nodesyncfiledir directories on the SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 11:13:09 +00:00
lissav
1d56dc9bfa remove check for WCOLL env variable and warning, someone is AIX is using it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 11:07:16 +00:00
lissav
79d548d7c7 remove -M flag implementation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 10:31:01 +00:00
lissav
77a82387d2 start code for xdsh on MN, interface defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 15:53:19 +00:00
lissav
9e3b054fc1 more conversion to RemoteShellExp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-17 13:35:00 +00:00
lissav
2362cb060e warn do not use xdsh -K fro Mellanox switch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-10 16:45:13 +00:00
lissav
6ab8d34bc6 add xdsh -e hierarchical support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 16:21:42 +00:00
lissav
7161b971e5 must create .ssh directory, if it does not exist before creating the config file in it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-16 16:59:48 +00:00
lissav
2eecc8dd5f fix xdcp node1 -T from_file to_file problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-25 14:57:19 +00:00
lissav
64211fc913 fix for defect 2949255, allow DSH_REMOTE_PASSWORD input on xdsh -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-15 14:40:31 +00:00
ligc
b09b00f0dc relative path fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 03:09:52 +00:00
ligc
32e47721d6 relative path support for xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 03:16:04 +00:00
lissav
f88ab38bd1 new hierarchical support for xdsh/xdcp, with error processing and -c flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 14:47:53 +00:00
lissav
bed6c2c541 fix -P option, i broke with addition of xdcp hierarchy support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 11:43:11 +00:00
lissav
6625876aea use /usr/bin/env perl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 11:37:24 +00:00
lissav
88f92d2f5f put xdcp -s back in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-22 13:35:33 +00:00
lissav
b074727be4 remove -s flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-25 18:16:23 +00:00
lissav
3600aa0c46 add interface for xdcp -i
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-09 14:37:27 +00:00
lissav
c9d2c76a56 handle dcp rsync cfm hierarchically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-25 12:27:48 +00:00
lissav
ebe2afe1d1 add xdsh -s flag support to update the servicenodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-19 14:59:17 +00:00
lissav
35e8b2be1d update for -s support more todo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-18 18:15:47 +00:00
lissav
2359403da3 add support for xdcp <> -F rsyncfile non-hierarchical
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-18 14:41:21 +00:00
lissav
e73de1c800 also create a config file in the /.ssh directory incase they have deleted that also
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 20:00:06 +00:00
lissav
1bc15b29ce allow -K -l if --devicetype is specified
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 18:37:57 +00:00
lissav
87251d1ac0 add check the -K and -l option are not supported together
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 18:06:04 +00:00
lissav
0c1857478e disable xdsh .. -K -l until decide what to do with it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 15:57:48 +00:00
lissav
1514fe637e first installment of code to support ssh key setup for non-root users
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 15:44:09 +00:00
lissav
efe6d01948 add DEVICETYPE env variable and manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 13:18:31 +00:00
lissav
0b93291a41 change interface to use -l flag and remove -w flag when updating keys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 12:52:36 +00:00