Commit de6a471a by Tuomas Suutari Committed by Daniel Lezcano

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: 's avatarTuomas Suutari <tuomas.suutari@gmail.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 44ee8a10
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment