-
Notifications
You must be signed in to change notification settings - Fork 51
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
Proxmox VM: Added description for Proxmox GUI control of the DietPi VM #946
Conversation
Actually exactly this should be done automatically as part of the first run setup: https://github.com/MichaIng/DietPi/blob/06529cf/dietpi/dietpi-software#L14757-L14764 Is the condition probably not correct anymore on latest Proxmox VE? ls -l /sys/class/virtio-ports/*/name
grep 'org.qemu.guest_agent.0' /sys/class/virtio-ports/*/name |
I installed a new Proxmox DietPi VM with downloading the actual .xz file like described there: https://dietpi.com/docs/install/:
|
Strange, I checked back on our Nextcloud server, and there it works: # cat /sys/class/virtio-ports/vport2p1/name
org.qemu.guest_agent.0 Checking back the man page and service files of the package: https://manpages.debian.org/qemu-ga#OPTIONS ls -l /dev/virtio-ports/org.qemu.guest_agent.0 This should actually exist, since it is the default and required for the QEMU guest agent service to even start. The sysfs entry might depend on the host Proxmox version or some config. It is at least used by one of the (K)VM tools: https://manpages.debian.org/virt-install#--channel |
Fixed with: MichaIng/DietPi@cbbcd0c |
122681d
to
fc61c7c
Compare
@StephanStS
|
1.
I did this tests in 4., not in 2. (in 2.
Then
2.
Yes, they appear. I tested this in 2.:
Also in this state, 2. is not controllable via GUI. 3.
It reacts like a manual |
Even more confusing: Installing
I mean the two device nodes: ls -l /sys/class/virtio-ports/vport1p1/name /dev/virtio-ports/org.qemu.guest_agent.0
Can you paste the output of |
1.Tested this in 2.:
2.
|
In case of the first test, is the module still loaded, respectively are the nodes still present after reboot? I did misread 3., as the guest agent is installed there as well. To me it looks like there are two ways:
|
Test A
Test on "QEMU GA disabled":
Then, after the reboot:
Test BSame as Test A, but with "QEMU GA enabled":
So, a
Test C
Directly after booting:
Also after a reboot:
If I then execute If I execute:
Test D
If I execute:
After a reboot
Test E
If I execute:
After a reboot
Test F
-> Works without reboot and without |
So you mean These were all Bookworm systems, right (as on Bullseye, logind is required for I lost the overview, but the results seem contradicting. Probably it takes some time for the nodes to appear, or another trigger or we missed another difference between the tested systems. Let's talk tomorrow about it. |
See also Test F result added above: Works without QEMU GA option, without qemu-guest-agent installation and without reboot. |
It does not enable or install anything currently, hence this PR and tests 😉. Currently I fail to see which difference the QGA option in Proxmox does at all, but only |
@MichaIng: Did some text modifications in regard of your dietpi-software first-run changes. |
Shall we keep it simple and just keep the info for v8.25 and above (and hence merge it after release + image updates)? Btw:
|
65da6b8
to
75b0738
Compare
See also