mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix description when rsync'ing from the VM to the local checkout
This commit is contained in:
parent
e8e0131d74
commit
1d21028471
1 changed files with 2 additions and 1 deletions
|
@ -1373,10 +1373,11 @@ class VM:
|
|||
for drive in ("c:", "C:"):
|
||||
rsync_remote_path = rsync_remote_path.replace(drive, "/cygdrive/c")
|
||||
destination = f"{self.name}:{rsync_remote_path}"
|
||||
description = "Rsync local checkout to VM..."
|
||||
if download:
|
||||
description = "Rsync VM to local checkout..."
|
||||
self.rsync(f"{destination}/*", source, description, rsync_flags)
|
||||
else:
|
||||
description = "Rsync local checkout to VM..."
|
||||
self.rsync(source, destination, description, rsync_flags)
|
||||
if self.is_windows:
|
||||
# rsync sets very strict file permissions and disables inheritance
|
||||
|
|
Loading…
Add table
Reference in a new issue