Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): document qemu-guest-agent behavior #670

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

otopetrik
Copy link
Contributor

Modify example to start with disabled guest agent.

Contributor's Note

  • I have added / updated documentation in /docs for any user-facing features or additions.
  • I have added / updated templates in /example for any new or updated resources / data sources.
  • I have ran make example to verify that the change works as expected.

Proof of Work

#669 and #449 show that agent.enabled = true behavior is not obvious and should be documented. It should not be the default in the example, but users are still expected to change it to true once they understand the details and configure everything correctly.

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #669 | Relates #0000

Modify example to start with disabled guest agent.

Signed-off-by: Oto Petřík <oto.petrik@gmail.com>
Copy link
Owner

@bpg bpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome as usual, @otopetrik, thanks for clarifying all of this!

@@ -23,7 +23,8 @@ resource "proxmox_virtual_environment_vm" "ubuntu_vm" {
vm_id = 4321

agent {
enabled = true
# read 'Qemu guest agent' section, change to true only when ready
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

Comment on lines +521 to +524
"Monitor" tab in Proxmox GUI can be used to send low-level commands to `qemu`.
See the [documentation](https://www.qemu.org/docs/master/system/monitor.html).
Commands `system_powerdown` and `quit` have proven useful in shutting down VMs
with `agent.enabled = true` and no agent running.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really helpful!

@bpg bpg changed the title fix(docs): Document qemu-guest-agent behavior fix(docs): document qemu-guest-agent behavior Oct 31, 2023
@bpg bpg merged commit e2e5b4e into bpg:main Oct 31, 2023
8 checks passed
@ghost ghost mentioned this pull request Oct 31, 2023
@bpg
Copy link
Owner

bpg commented Oct 31, 2023

@all-contributors please add @otopetrik for documentation

@allcontributors
Copy link
Contributor

@bpg

I've put up a pull request to add @otopetrik! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bunch of (possible) problems with qemu-guest-agent
2 participants