mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
M #-: Minor fixes, typos (#337)
This commit is contained in:
1 parent
59570cd402
commit
b14923b798
6 files changed
+2
-8
No files matched your search
@@ -1,4 +1,4 @@
|
||||
e -------------------------------------------------------------------------- #
|
||||
# -------------------------------------------------------------------------- #
|
||||
# Copyright 2002-2020, OpenNebula Project, OpenNebula Systems #
|
||||
# #
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
|
||||
|
||||
@@ -23,12 +23,10 @@ DOMAIN="$1"
|
||||
SOURCE="$2"
|
||||
TARGET="$3"
|
||||
TARGET_INDEX="$4"
|
||||
VMID="$5"
|
||||
|
||||
DETACH_PARAMS="--domain $DOMAIN --target $TARGET"
|
||||
|
||||
\
|
||||
exec_and_log "virsh --connect $LIBVIRT_URI detach-disk $DETACH_PARAMS" \
|
||||
exec_and_log "virsh --connect $LIBVIRT_URI detach-disk $DETACH_PARAMS" \
|
||||
"Could not detach $TARGET from $DOMAIN"
|
||||
|
||||
virsh --connect $LIBVIRT_URI dumpxml $DOMAIN | \
|
||||
|
||||
@@ -20,7 +20,6 @@ source $(dirname $0)/../../etc/vmm/kvm/kvmrc
|
||||
source $(dirname $0)/../../scripts_common.sh
|
||||
|
||||
deploy_id=$1
|
||||
VMID=$3
|
||||
|
||||
exec_and_log "virsh --connect $LIBVIRT_URI reset $deploy_id" \
|
||||
"Could not reset domain $deploy_id"
|
||||
|
||||
@@ -20,7 +20,6 @@ DOMAIN=$1
|
||||
DISK_ID=$2
|
||||
DISK_SIZE=$3
|
||||
DRV_ACTION=$4
|
||||
VMID=$6
|
||||
|
||||
source $(dirname $0)/../../etc/vmm/kvm/kvmrc
|
||||
source $(dirname $0)/../../scripts_common.sh
|
||||
|
||||
@@ -22,7 +22,6 @@ source $(dirname $0)/../../scripts_common.sh
|
||||
count=0
|
||||
|
||||
deploy_id=$1
|
||||
VMID=$3
|
||||
|
||||
shutdown_command="virsh --connect $LIBVIRT_URI shutdown $deploy_id"
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ source $(dirname $0)/../../scripts_common.sh
|
||||
|
||||
DOMAIN="$1"
|
||||
NAME="$2"
|
||||
VMID="$3"
|
||||
|
||||
retry_if "active block job" 3 5 exec_and_log \
|
||||
"virsh --connect $LIBVIRT_URI snapshot-revert --force $DOMAIN $NAME" \
|
||||
|
||||
Reference in new issue
Block a user