When the virtual machine configuration is changed to provide a particular answer, it always provides this same answer until the virtual machine is reconfigured.
An advanced option can be added to the virtual machine configuration that provide an answer to these types of questions. This change can either be made through the GUI or by manually editing the .vmx file for the virtual machine.
The first example in the Symptoms section is asking how to proceed with an existing virtual serial port redirection file. If the question is answered with Append, the existing file is preserved and any new serial output is written to the end of the file. If the question is answered with Replace, the existing file is overwritten with any new serial output.
To prevent this question from being asked from the GUI:
- Power off the virtual machine.
- In the vSphere Client, right-click the virtual machine and choose Edit Settings.
- Click the Options tab.
- Under Advanced, select General and then click Configuration Parameters.
- Click Add Row.
- In the new row, enter "answer.msg.serial.file.open" for the Name and enter a Value of either "Append" or "Replace".
- Click OK in the Configuration Parameters window, then click OK in the Virtual Machine Properties window.
To prevent this question from being asked by modifying the .vmx file:
- Open the virtual machine's .vmx file in a text editor.
- Append the line 'answer.msg.serial.file.open="Append" ' or 'answer.msg.serial.file.open="Replace" ' to the file.
- Save and close the file.
The second example in the Symptoms section displays if a virtual machine's configuration files are copied or moved to a new location. If you answer the question with I moved it, the UUID of the virtual machine is left intact. If you answer the question with I copied it, a new UUID is generated for the virtual machine. It is typically safer to answer with I copied it to prevent duplicate UUIDs.
To prevent the question from being asked from the GUI:
- Power off the virtual machine.
- In the vSphere Client, right-click the virtual machine and choose Edit Settings.
- Click the Options tab. Under Advanced, select General and then click on the Configuration Parameters button.
- Click Add Row.
- In the new row, enter "answer.msg.uuid.altered" for the Name and enter a Value of either "I moved it" or "I copied it".
- Click OK in the Configuration Parameters window, then click OK in the Virtual Machine Properties window.
To prevent this question from being asked by modifying the .vmx file:
- Open the virtual machine's .vmx file in a text editor.
- Append the line 'answer.msg.uuid.altered="I copied it" ' or 'answer.msg.uuid.altered="I moved it" ' to the file.
- Save and close the file.