test: Fix vm-prep for running in a docker container
test: Fix vm-prep for running in a docker container

We don't have systemd running in a docker container, so start libvirtd
and virtlogd directly in that case.

Refine the check for the modprobe.d configuration.

moraleslazaro/cockpit,mvollmer/cockpit,Scribery/cockpit,moraleslazaro/cockpit,xhad/cockpit,martinpitt/cockpit,larsu/cockpit,cockpituous/cockpit,garrett/cockpit,larsu/cockpit,SotolitoLabs/cockpit,xhad/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,petervo/cockpit,garrett/cockpit,harishanand95/cockpit,andreasn/cockpit,harishanand95/cockpit,mareklibra/cockpit,larskarlitski/cockpit,xhad/cockpit,dperpeet/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,SotolitoLabs/cockpit,dperpeet/cockpit,larskarlitski/cockpit,dperpeet/cockpit,cockpituous/cockpit,cockpit-project/cockpit,larskarlitski/cockpit,cockpituous/cockpit,xhad/cockpit,andreasn/cockpit,mvollmer/cockpit,petervo/cockpit,larsu/cockpit,stefwalter/cockpit,andreasn/cockpit,deryni/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,dperpeet/cockpit,cockpit-project/cockpit,larsu/cockpit,michalskrivanek/cockpit,michalskrivanek/cockpit,cockpit-project/cockpit,stefwalter/cockpit,mareklibra/cockpit,Scribery/cockpit,stefwalter/cockpit,deryni/cockpit,larskarlitski/cockpit,cockpit-project/cockpit,mareklibra/cockpit,larsu/cockpit,harishanand95/cockpit,Scribery/cockpit,martinpitt/cockpit,Scribery/cockpit,mvollmer/cockpit,harishanand95/cockpit,petervo/cockpit,larskarlitski/cockpit,mvollmer/cockpit,mareklibra/cockpit,petervo/cockpit,mvollmer/cockpit,martinpitt/cockpit,Scribery/cockpit,Scribery/cockpit,cockpituous/cockpit,deryni/cockpit,stefwalter/cockpit,andreasn/cockpit,andreasn/cockpit,petervo/cockpit,deryni/cockpit,larskarlitski/cockpit,martinpitt/cockpit,michalskrivanek/cockpit,stefwalter/cockpit,deryni/cockpit,moraleslazaro/cockpit,dperpeet/cockpit,dperpeet/cockpit,michalskrivanek/cockpit,dperpeet/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,larskarlitski/cockpit,stefwalter/cockpit,xhad/cockpit,deryni/cockpit,xhad/cockpit,petervo/cockpit,mareklibra/cockpit,garrett/cockpit,petervo/cockpit,garrett/cockpit,harishanand95/cockpit,xhad/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,michalskrivanek/cockpit,mareklibra/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,larsu/cockpit,Scribery/cockpit,cockpituous/cockpit,deryni/cockpit,moraleslazaro/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,martinpitt/cockpit,mareklibra/cockpit,harishanand95/cockpit,garrett/cockpit,andreasn/cockpit,cockpit-project/cockpit