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:
parent
2ab48453e7
commit
b1ed347bec
@ -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="\
|
||||
|
1
share/oneprovision/provisions/provisions
Symbolic link
1
share/oneprovision/provisions/provisions
Symbolic link
@ -0,0 +1 @@
|
||||
/home/alex/Workspace/one-ee/share/oneprovision/provisions/
|
20
src/im_mad/remotes/dummy-probes.d/vm/snapshot/recovery.rb
Executable file
20
src/im_mad/remotes/dummy-probes.d/vm/snapshot/recovery.rb
Executable 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
|
Loading…
Reference in New Issue
Block a user