Skip to content

Commit ee944de

Browse files
committed
Changed single line to multi line script
1 parent 4913e7a commit ee944de

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/azure-arc/vmware-vsphere/troubleshoot-guest-management-issues.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot Guest Management Issues
33
description: Learn about how to troubleshoot the guest management issues for Arc-enabled VMware vSphere.
44
ms.topic: reference
5-
ms.date: 11/06/2023
5+
ms.date: 08/06/2024
66
ms.service: azure-arc
77
ms.subservice: azure-arc-vmware-vsphere
88
ms.custom: linux-related-content
@@ -72,15 +72,17 @@ Applies to:
7272

7373
Before you enable the guest agent, follow these steps on the VM:
7474

75-
1. Create file `vmtools_unconfined_rpm_script_kcs5347781.te` using the following:
75+
1. Create a file `vmtools_unconfined_rpm_script_kcs5347781.te`, and add the following contents to it:
7676

77-
`policy_module(vmtools_unconfined_rpm_script_kcs5347781, 1.0)
77+
```powershell-interactive
78+
policy_module(vmtools_unconfined_rpm_script_kcs5347781, 1.0)
7879
gen_require(`
7980
type vmtools_unconfined_t;
8081
')
8182
optional_policy(`
8283
rpm_transition_script(vmtools_unconfined_t,system_r)
83-
')`
84+
')
85+
```
8486
8587
2. Install the package to build the policy module:
8688

0 commit comments

Comments
 (0)