We get failing ngcp-status on our trunk systems, due to:
| root@spce:~# systemctl --failed
| UNIT LOAD ACTIVE SUB DESCRIPTION
| ● vboxadd-service.service loaded failed failed VirtualBox Guest Additions Services Daemon
| ● vboxadd.service loaded failed failed vboxadd.service
While we're not even running inside a VirtualBox environment:
| root@spce:~# systemd-detect-virt
| kvm
We install /etc/systemd/system/vboxadd-service.service.d/override.conf
and /etc/systemd/system/vboxadd-service.service.d/override.conf with
`ConditionVirtualization=oracle` through our templates (see its git rev
a2521b609300965e5f8dfdeee63c5961f2d6a559) to address this. But this is
too late to the party, as the vboxadd* services are started *before* our
overrides get relevant.
So ensure we place the overrides already *before* even installing the
VBoxGuestAdditions.iso and executing its VBoxLinuxAdditions.run.
This then prevents the execution inside our Proxmox VMs, and not
reporting failing vboxadd-service + vboxadd services then:
| systemd[1]: vboxadd.service was skipped because of an unmet condition check (ConditionVirtualization=oracle).
Change-Id: I1a3a04bdc5d92d3fc79b336018ac5f588266c59b
(cherry picked from commit e2db6df5d0)
mr13.3
parent
244b69ae55
commit
4537248a97
Loading…
Reference in new issue