1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

M #-: add missing snapshot dir to dummy (#699)

This commit is contained in:
Alejandro Huertas Herrero 2021-01-25 09:51:40 +01:00 committed by GitHub
parent 2ab48453e7
commit b1ed347bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 1 deletions

View File

@ -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="\

View File

@ -0,0 +1 @@
/home/alex/Workspace/one-ee/share/oneprovision/provisions/

View File

@ -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