Users can utilize the desired file for vSphere Configuration Profile (VCP) remediation to manage the vmknic enabled service tags. Take the following configurations as an example, users may manually modify the exported desired file, adding <"precision_time_protocol": true> to a specific vmknic to manage the 'PrecisionTimeProtocol' tag. Following the remediation, the outcome is compliant, and the tag appears to be successfully added to vmk1. However, upon rebooting the host, the tag disappears, resulting in non-compliance.
{
...
{
"device": "vmk1",
"enabled": true,
"net_stack_instance_key": "defaultTcpipStack",
"port_connection_type": "VDS",
"ip": {
"dhcp_dns": false,
"ipv6_enabled": true,
"dhcp": true,
"ipv6": {
"dhcp": false,
"auto_configuration_enabled": false,
"dhcp_dns": false
}
},
"vds_port": {
"switch_name": "DSwitch",
"portgroup_name": "DPortGroup"
},
"mtu": 1500,
"mac_mode": "AUTO_GENERATED",
"enabled_services": {
"nvme_tcp": true,
"precision_time_protocol": true <=========== user manually adds precision_time_protocol
}
}
...
}
Users should not manually edit the desired file for this vmknic ''PrecisionTimeProtocol' tag.