Skip to content

Commit

Permalink
fix vars name error
Browse files Browse the repository at this point in the history
Signed-off-by: Yanan Shen <yanans@vmware.com>
  • Loading branch information
123lzxm committed Apr 8, 2024
1 parent c90f761 commit 5c84cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/windows_update_install/prepare_msu_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
win_execute_cmd_no_log: "{{ hide_secrets | default(false) }}"
win_powershell_cmd: >-
{{ win_nfs_mount_cmd }};
$file = Get-ChildItem -Path {{ msu_file_nfs_path }} | where Name -like '{{ msu_file_reg }}';
$file = Get-ChildItem -Path {{ msu_file_nfs_path }} | where Name -like '{{ msu_file_name_reg }}';
if ($file) {Copy-Item -Path $file.FullName -Destination {{ msu_dest_dir }} -ErrorAction Stop;};
net use {{ drive_letter_new }}: /delete
Expand Down

0 comments on commit 5c84cd3

Please sign in to comment.