remove -s flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b02184ff04
commit
b074727be4
@ -426,7 +426,6 @@ sub parse_args_xdcp
|
||||
'q|show-config' => \$options{'show-config'},
|
||||
'p|preserve' => \$options{'preserve'},
|
||||
'r|c|node-rcp=s' => \$options{'node-rcp'},
|
||||
's' => \$options{'rsyncSN'},
|
||||
't|timeout=i' => \$options{'timeout'},
|
||||
'v|verify' => \$options{'verify'},
|
||||
'B|bypass' => \$options{'bypass'},
|
||||
@ -453,13 +452,18 @@ sub parse_args_xdcp
|
||||
xCAT::DSHCLI->show_dsh_config;
|
||||
exit 0;
|
||||
}
|
||||
if ($options{'rsyncSN'})
|
||||
|
||||
# if rsyncing to a node, not the root image
|
||||
# then must sync to service node first, if using hierarchy
|
||||
# These env variable are used in xdsh.pm preprocessing
|
||||
if ((!($options{'rootimg'})) && ($options{'File'}))
|
||||
{
|
||||
$ENV{'RSYNCSN'} = "yes"; # rsync file to SN
|
||||
$ENV{'RSYNCSN'} = "yes"; #rsync file to SN, if exist
|
||||
}
|
||||
|
||||
if ($options{'File'})
|
||||
{
|
||||
$ENV{'DSH_RSYNC_FILE'} = $options{'File'} ; # rsync file
|
||||
$ENV{'DSH_RSYNC_FILE'} = $options{'File'}; # rsync file
|
||||
}
|
||||
if ($options{'version'})
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user