diff --git a/install.sh b/install.sh index 36383285ad..fd72ae27fc 100755 --- a/install.sh +++ b/install.sh @@ -346,6 +346,7 @@ VAR_DIRS="$VAR_LOCATION/remotes \ $VAR_LOCATION/remotes/im/dummy-probes.d/host/system \ $VAR_LOCATION/remotes/im/dummy-probes.d/vm/monitor \ $VAR_LOCATION/remotes/im/dummy-probes.d/vm/status \ + $VAR_LOCATION/remotes/im/dummy-probes.d/vm/snapshot \ $VAR_LOCATION/remotes/im/lxd.d \ $VAR_LOCATION/remotes/im/lxd-probes.d/host/beacon \ $VAR_LOCATION/remotes/im/lxd-probes.d/host/monitor \ @@ -581,6 +582,7 @@ INSTALL_FILES=( IM_PROBES_DUMMY_HOST_SYSTEM_FILES:$VAR_LOCATION/remotes/im/dummy-probes.d/host/system IM_PROBES_DUMMY_VM_MONITOR_FILES:$VAR_LOCATION/remotes/im/dummy-probes.d/vm/monitor IM_PROBES_DUMMY_VM_STATUS_FILES:$VAR_LOCATION/remotes/im/dummy-probes.d/vm/status + IM_PROBES_DUMMY_VM_STATUS_FILES:$VAR_LOCATION/remotes/im/dummy-probes.d/vm/snapshot IM_PROBES_LXD_HOST_BEACON_FILES:$VAR_LOCATION/remotes/im/lxd-probes.d/host/beacon IM_PROBES_LXD_HOST_MONITOR_FILES:$VAR_LOCATION/remotes/im/lxd-probes.d/host/monitor IM_PROBES_LXD_HOST_SYSTEM_FILES:$VAR_LOCATION/remotes/im/lxd-probes.d/host/system @@ -1344,7 +1346,8 @@ IM_PROBES_DUMMY_HOST_SYSTEM_FILES="\ IM_PROBES_DUMMY_VM_MONITOR_FILES="\ src/im_mad/remotes/dummy-probes.d/vm/monitor/monitor.rb" -IM_PROBES_DUMMY_VM_STATUS_FILES="" +IM_PROBES_DUMMY_VM_STATUS_FILES="\ +src/im_mad/remotes/dummy-probes.d/vm/snapshot/recovery.rb" # LXD PROBES IM_PROBES_LXD_FILES="\ diff --git a/share/oneprovision/provisions/provisions b/share/oneprovision/provisions/provisions new file mode 120000 index 0000000000..bb859955b4 --- /dev/null +++ b/share/oneprovision/provisions/provisions @@ -0,0 +1 @@ +/home/alex/Workspace/one-ee/share/oneprovision/provisions/ \ No newline at end of file diff --git a/src/im_mad/remotes/dummy-probes.d/vm/snapshot/recovery.rb b/src/im_mad/remotes/dummy-probes.d/vm/snapshot/recovery.rb new file mode 100755 index 0000000000..ef94a6bc80 --- /dev/null +++ b/src/im_mad/remotes/dummy-probes.d/vm/snapshot/recovery.rb @@ -0,0 +1,20 @@ +#!/usr/bin/env ruby + +# -------------------------------------------------------------------------- # +# Copyright 2002-2020, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +STDIN=`cat -` +exit 0