Ensure libvirtd is started after vswitch and add ability to configure how libvirtd guests are shutdown
This commit is contained in:
committed by
Michael Raskin
parent
76a4de68c1
commit
08534000a4
@@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
sed -i 's/ON_SHUTDOWN=suspend/ON_SHUTDOWN=''${ON_SHUTDOWN:-suspend}/' $out/libexec/libvirt-guests.sh
|
||||
substituteInPlace $out/libexec/libvirt-guests.sh \
|
||||
--replace "$out/bin" "${gettext}/bin"
|
||||
wrapProgram $out/sbin/libvirtd \
|
||||
|
||||
Reference in New Issue
Block a user