mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 01:39:59 +00:00
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>
This commit is contained in:
parent
44ee8a102e
commit
de6a471a1c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user