summaryrefslogtreecommitdiffstats
path: root/docs/docsite/rst/scenario_guides/vmware_rest_scenarios/vm_tool_configuration.rst
blob: b29447aec52d681d71b7257b4d7e1ecd7707259d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.. _vmware_rest_vm_tool_configuration:

**************************************************************
How to configure the VMware tools of a running virtual machine 
**************************************************************

.. contents::
  :local:


Introduction
============

This section show you how to collection information from a running virtual machine.

Scenario requirements
=====================

You've already followed :ref:`vmware_rest_run_a_vm` and your virtual machine runs VMware Tools.

How to change the upgrade policy
================================

Change the upgrade policy to MANUAL
---------------------------------------------------

You can adjust the VMware Tools upgrade policy with the ``vcenter_vm_tools`` module.

.. literalinclude:: task_outputs/Change_vm-tools_upgrade_policy_to_MANUAL.task.yaml

Result
______

.. literalinclude:: task_outputs/Change_vm-tools_upgrade_policy_to_MANUAL.result.json


Change the upgrade policy to UPGRADE_AT_POWER_CYCLE 
------------------------------------------------------------------------------------------

.. literalinclude:: task_outputs/Change_vm-tools_upgrade_policy_to_UPGRADE_AT_POWER_CYCLE.task.yaml

Result
______

.. literalinclude:: task_outputs/Change_vm-tools_upgrade_policy_to_UPGRADE_AT_POWER_CYCLE.result.json