aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuomas Suutari <tuomas.suutari@gmail.com>2011-10-28 23:55:38 +0200
committerDaniel Lezcano <daniel.lezcano@free.fr>2011-10-28 23:55:38 +0200
commitde6a471a1cccd6d6cdfd0ea562dd03a33be59e83 (patch)
treecc345f024a4873c402f4184319f478beaeba434b
parenttemplates: update openSUSE template for openSUSE 12.1 (diff)
downloadlxc-de6a471a1cccd6d6cdfd0ea562dd03a33be59e83.tar.gz
lxc-de6a471a1cccd6d6cdfd0ea562dd03a33be59e83.tar.bz2
lxc-de6a471a1cccd6d6cdfd0ea562dd03a33be59e83.zip
lxc-fedora.in: Add missing default release variable
The text says that 14 is default, but release=14 was not set anywhere in the script. Signed-off-by: Tuomas Suutari <tuomas.suutari@gmail.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r--templates/lxc-fedora.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
index d35600a..8588aef 100644
--- a/templates/lxc-fedora.in
+++ b/templates/lxc-fedora.in
@@ -317,6 +317,7 @@ if [ -z "$release" ]; then
release=$(cat /etc/fedora-release |awk '/^Fedora/ {print $3}')
else
echo "This is not a fedora host and release missing, defaulting to 14. use -R|--release to specify release"
+ release=14
fi
fi