projects
/
ext/instance-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
83a19f9
)
OLD/NEW swap, fix get_api10_arguments too
author
Guido Trotter
<ultrotter@google.com>
Thu, 16 Oct 2008 16:38:53 +0000 (16:38 +0000)
committer
Guido Trotter
<ultrotter@google.com>
Thu, 16 Oct 2008 16:38:53 +0000 (16:38 +0000)
Reviewed-by: iustinp
common.sh
patch
|
blob
|
history
diff --git
a/common.sh
b/common.sh
index
62cea59
..
4aa3bea
100644
(file)
--- a/
common.sh
+++ b/
common.sh
@@
-44,10
+44,10
@@
get_api10_arguments() {
exit 1
fi
blockdev=$DISK_0_PATH
- if [ "$0" = "rename" -a -z "$NEW_INSTANCE_NAME" ]; then
+ if [ "$0" = "rename" -a -z "$OLD_INSTANCE_NAME" ]; then
echo "Missing OS API Variable"
fi
- new_name=$NEW_INSTANCE_NAME
+ old_name=$OLD_INSTANCE_NAME
}
if [ -z "$OS_API_VERSION" -o "$OS_API_VERSION" = "5" ]; then