Skip to content

Commit bbe28bb

Browse files
Merge pull request #283669 from BanoFarha/VMware-doc-update-Aug6
Changed single line to multi line script
2 parents 9fce033 + e92bf96 commit bbe28bb

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 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
@@ -14,9 +14,9 @@ manager: jsuri
1414
# Troubleshoot Guest Management for Linux VMs
1515

1616
> [!CAUTION]
17-
> This article references CentOS, a Linux distribution that is End Of Life (EOL) status. Please consider your use and planning accordingly. For more information, see the [CentOS End Of Life guidance](~/articles/virtual-machines/workloads/centos/centos-end-of-life.md).
17+
> This article references CentOS, a Linux distribution that is End Of Life (EOL) status. Consider your use and planning accordingly. For more information, see the [CentOS End Of Life guidance](~/articles/virtual-machines/workloads/centos/centos-end-of-life.md).
1818
19-
This article provides information on how to troubleshoot and resolve the issues that can occur while you enable guest management on Arc-enabled VMware vSphere virtual machines.
19+
This article provides information on how to troubleshoot and resolve the issues that can occur when you enable guest management on Arc-enabled VMware vSphere virtual machines.
2020

2121
## Troubleshoot issues while enabling Guest Management on a domain-joined Linux VM
2222

@@ -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 named `vmtools_unconfined_rpm_script_kcs5347781.te`, and add the following to it:
7676

77-
`policy_module(vmtools_unconfined_rpm_script_kcs5347781, 1.0)
77+
```
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)