diff --git a/src/im_mad/im_exec/one_im_sh_ec2 b/src/im_mad/im_exec/one_im_sh_ec2 deleted file mode 100644 index cd4d386a3f..0000000000 --- a/src/im_mad/im_exec/one_im_sh_ec2 +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -# -------------------------------------------------------------------------- # -# Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs # -# # -# 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. # -#--------------------------------------------------------------------------- # - -if [ -z "${ONE_LOCATION}" ]; then - MAD_LOCATION=/usr/lib/one/mads -else - MAD_LOCATION=$ONE_LOCATION/lib/mads -fi - -while getopts ":u:r:t:c" opt $@; do - case "${opt}" in - u) - export EC2_REGION="${OPTARG}" - ;; - *) - ;; - esac -done - -exec $MAD_LOCATION/one_im_sh $* diff --git a/src/vmm_mad/exec/one_vmm_sh_ec2 b/src/vmm_mad/exec/one_vmm_sh_ec2 deleted file mode 100644 index 0ba57b93c5..0000000000 --- a/src/vmm_mad/exec/one_vmm_sh_ec2 +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -# -------------------------------------------------------------------------- # -# Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs # -# # -# 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. # -#--------------------------------------------------------------------------- # - -if [ -z "${ONE_LOCATION}" ]; then - MAD_LOCATION=/usr/lib/one/mads -else - MAD_LOCATION=$ONE_LOCATION/lib/mads -fi - -while getopts ":u:r:t:l:s:" opt $@; do - case "${opt}" in - u) - export EC2_REGION="${OPTARG}" - ;; - *) - ;; - esac -done - -exec $MAD_LOCATION/one_vmm_sh $* diff --git a/src/vmm_mad/remotes/ec2/hybrid_ec2.conf b/src/vmm_mad/remotes/ec2/ec2_driver.conf similarity index 100% rename from src/vmm_mad/remotes/ec2/hybrid_ec2.conf rename to src/vmm_mad/remotes/ec2/ec2_driver.conf diff --git a/src/vmm_mad/remotes/ec2/ec2.conf b/src/vmm_mad/remotes/ec2/ec2_driver.default similarity index 87% rename from src/vmm_mad/remotes/ec2/ec2.conf rename to src/vmm_mad/remotes/ec2/ec2_driver.default index a8272d6237..95673cffbe 100644 --- a/src/vmm_mad/remotes/ec2/ec2.conf +++ b/src/vmm_mad/remotes/ec2/ec2_driver.default @@ -16,19 +16,19 @@ - +