mirror of
https://github.com/systemd/systemd
synced 2024-09-30 05:15:19 +00:00
vmspawn: report "systemd-vmspawn" as "service" to machined
The "service" field that one is supposed to pass to machine is supposed to indicate the implementation of the client, not the service unit the client runs in (which is typically even a scope unit, not a system unit). Hence fix that, and make it closely match what systemd-nspawn does.
This commit is contained in:
parent
9ace806fcb
commit
73fade298a
|
@ -2051,7 +2051,7 @@ static int run_virtual_machine(int kvm_device_fd, int vhost_device_fd) {
|
|||
bus,
|
||||
arg_machine,
|
||||
arg_uuid,
|
||||
trans_scope,
|
||||
"systemd-vmspawn",
|
||||
arg_directory,
|
||||
child_cid,
|
||||
child_cid != VMADDR_CID_ANY ? vm_address : NULL,
|
||||
|
|
Loading…
Reference in a new issue