Hello,
Hope everyone is well.
I have a script which i would like to run when the VM is stopped (In windows click shutdown).
The Script should execute the following commands
echo 1 > /sys/bus/pci/devices/0000\:04\:00.0/remove
echo 1 > /sys/bus/pci/devices/0000\:04\:00.1/remove
I tried hoopscript but it was quite difficult. Are there other ways of executing these commands automatically when a VM is shutdown?
Hope everyone is well.
I have a script which i would like to run when the VM is stopped (In windows click shutdown).
The Script should execute the following commands
echo 1 > /sys/bus/pci/devices/0000\:04\:00.0/remove
echo 1 > /sys/bus/pci/devices/0000\:04\:00.1/remove
I tried hoopscript but it was quite difficult. Are there other ways of executing these commands automatically when a VM is shutdown?