diff --git a/windows/guest_customization/win_gosc_prepare.yml b/windows/guest_customization/win_gosc_prepare.yml index 403bf7faa..bcc2f4bf9 100644 --- a/windows/guest_customization/win_gosc_prepare.yml +++ b/windows/guest_customization/win_gosc_prepare.yml @@ -55,7 +55,9 @@ - keep_onedrive is undefined or not keep_onedrive - guest_os_ansible_distribution_ver is defined - guest_os_ansible_distribution_ver is version('10.0.22000.0', '>=') - + - guest_os_product_type is defined + - guest_os_product_type | lower == 'client' + # Shutdown guest OS before execute guest customization - include_tasks: ../utils/win_shutdown_restart.yml vars: