This is an automated email from the ASF dual-hosted git repository. paul_a pushed a commit to branch 41120-memory in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit b01582cb946f0583dd566ac0035713c0fb2aded2 Author: Paul Angus <paul.an...@shapeblue.com> AuthorDate: Wed Dec 12 22:10:31 2018 +0000 allow systemd based guest agents to start regardless of systemd detect virtualisation type --- .../systemd/system/hyperv-daemons.hv-fcopy-daemon.service | 9 +++++++++ .../systemd/system/hyperv-daemons.hv-kvp-daemon.service | 8 ++++++++ .../systemd/system/hyperv-daemons.hv-vss-daemon.service | 9 +++++++++ systemvm/debian/lib/systemd/system/open-vm-tools.service | 12 ++++++++++++ systemvm/debian/lib/systemd/system/xe-daemon.service | 15 +++++++++++++++ 5 files changed, 53 insertions(+) diff --git a/systemvm/debian/lib/systemd/system/hyperv-daemons.hv-fcopy-daemon.service b/systemvm/debian/lib/systemd/system/hyperv-daemons.hv-fcopy-daemon.service new file mode 100644 index 0000000..12a0b63 --- /dev/null +++ b/systemvm/debian/lib/systemd/system/hyperv-daemons.hv-fcopy-daemon.service @@ -0,0 +1,9 @@ +[Unit] +Description=Hyper-V file copy service (FCOPY) daemon +ConditionPathExists=/dev/vmbus/hv_fcopy + +[Service] +ExecStart=/usr/sbin/hv_fcopy_daemon -n + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/systemvm/debian/lib/systemd/system/hyperv-daemons.hv-kvp-daemon.service b/systemvm/debian/lib/systemd/system/hyperv-daemons.hv-kvp-daemon.service new file mode 100644 index 0000000..534a25a --- /dev/null +++ b/systemvm/debian/lib/systemd/system/hyperv-daemons.hv-kvp-daemon.service @@ -0,0 +1,8 @@ +[Unit] +Description=Hyper-V key-value pair (KVP) daemon + +[Service] +ExecStart=/usr/sbin/hv_kvp_daemon -n + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/systemvm/debian/lib/systemd/system/hyperv-daemons.hv-vss-daemon.service b/systemvm/debian/lib/systemd/system/hyperv-daemons.hv-vss-daemon.service new file mode 100644 index 0000000..1ba50af --- /dev/null +++ b/systemvm/debian/lib/systemd/system/hyperv-daemons.hv-vss-daemon.service @@ -0,0 +1,9 @@ +root@s-1-VM:/lib/systemd/system# cat hyperv-daemons.hv-vss-daemon.service +[Unit] +Description=Hyper-V volume shadow copy service (VSS) daemon + +[Service] +ExecStart=/usr/sbin/hv_vss_daemon -n + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/systemvm/debian/lib/systemd/system/open-vm-tools.service b/systemvm/debian/lib/systemd/system/open-vm-tools.service new file mode 100644 index 0000000..1db3724 --- /dev/null +++ b/systemvm/debian/lib/systemd/system/open-vm-tools.service @@ -0,0 +1,12 @@ +[Unit] +Description=Service for virtual machines hosted on VMware +Documentation=http://open-vm-tools.sourceforge.net/about.php +DefaultDependencies=no +Before=cloud-init-local.service + +[Service] +ExecStart=/usr/bin/vmtoolsd +TimeoutStopSec=5 + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/systemvm/debian/lib/systemd/system/xe-daemon.service b/systemvm/debian/lib/systemd/system/xe-daemon.service new file mode 100644 index 0000000..b74e0f5 --- /dev/null +++ b/systemvm/debian/lib/systemd/system/xe-daemon.service @@ -0,0 +1,15 @@ +[Unit] +Description=Xen Guest Monitoring Agent +DefaultDependencies=no +After=local-fs.target +Requires=proc-xen.mount +Before=network.target cloud-init.service cloud-init-local.service +ConditionPathExists=/proc/xen/capabilities + +[Service] +ExecStartPre=/usr/sbin/xe-linux-distribution /var/cache/xe-linux-distribution +ExecStart=/usr/sbin/xe-daemon +StandardOutput=journal+console + +[Install] +WantedBy=multi-user.target \ No newline at end of file