/etc/init/hv-vss-daemon.conf is in linux-cloud-tools-common 3.13.0-65.106.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # On Azure/Hyper-V systems start the hv_vss_daemon
#
description "Hyper-V VSS Protocol Daemon"
author "Ben Howard <ben.howard@canonical.com>"
start on runlevel [2345]
stop on runlevel [!2345]
console log
pre-start script
if [ -e "/etc/default/hv-kvp-daemon-init" ]; then
. /etc/default/hv-kvp-daemon-init
fi
[ "$RUN_VSS_DAEMON" -eq 0 ] && { stop; exit 0; }
if [ -d /sys/class/dmi/id/. ]; then
read company </sys/class/dmi/id/sys_vendor
read product </sys/class/dmi/id/product_name
[ "$company:$product" = 'Microsoft Corporation:Virtual Machine' ] || { stop; exit 0; }
fi
end script
exec /usr/sbin/hv_vss_daemon
|