remove -u flag, fix for defects 2844537,2844789, 2845457
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cb58ad888c
commit
8fc6c82fc4
@ -4230,8 +4230,8 @@ sub parse_and_run_dcp
|
||||
/.../file1 /..../filex -> /...../dir1
|
||||
|
||||
rsync command format
|
||||
/usr/bin/rsync -Lupotz /etc/services $pathtoimage/etc/services
|
||||
/usr/bin/rsync -Lupotz /tmp/lissa/file1 /tmp/lissa/file $pathtoimage/tmp/lissa
|
||||
/usr/bin/rsync -Lpotz /etc/services $pathtoimage/etc/services
|
||||
/usr/bin/rsync -Lpotz /tmp/lissa/file1 /tmp/lissa/file $pathtoimage/tmp/lissa
|
||||
|
||||
Arguments:
|
||||
Input:
|
||||
@ -4307,16 +4307,16 @@ sub rsync_to_image
|
||||
{
|
||||
if (-e ("/usr/bin/rsync"))
|
||||
{
|
||||
$synccmd = "/usr/bin/rsync -Lupotz ";
|
||||
$synccmd = "/usr/bin/rsync -Lpotz ";
|
||||
}
|
||||
else
|
||||
{
|
||||
$synccmd = "/usr/local/bin/rsync -Lupotz ";
|
||||
$synccmd = "/usr/local/bin/rsync -Lpotz ";
|
||||
}
|
||||
}
|
||||
else # linux
|
||||
{
|
||||
$synccmd = "/usr/bin/rsync -Lupotz ";
|
||||
$synccmd = "/usr/bin/rsync -Lpotz ";
|
||||
}
|
||||
my $syncopt = "";
|
||||
foreach my $srcfile (@srcfiles)
|
||||
|
@ -88,7 +88,7 @@ sub remote_copy_command
|
||||
$sync_opt = '--rsync-path /usr/bin/rsync ';
|
||||
}
|
||||
|
||||
$sync_opt .= '-Lupotz ';
|
||||
$sync_opt .= '-Lpotz ';
|
||||
$sync_opt .= $$config{'options'};
|
||||
if ($::SYNCSN == 1)
|
||||
{ # syncing service node
|
||||
|
Loading…
Reference in New Issue
Block a user