Add F27 warning to installation script

For now we are hardcoding Fedora 27 to use Fedora 26 repositories, after
the release of 17.12.0-ce we should delete this message

Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
Eli Uriegas committed 2017-11-17 15:17:40 +00:00
1 parent dc2c90b647
commit e6f596c1fe
1 file changed
+11
+11
View File
@@ -412,6 +412,17 @@ do_install() {
# DELETE FROM HERE
if [ "$dist_version" -eq "27" ]; then
$sh_c "sed -i 's/\\\$releasever/26/g' /etc/yum.repos.d/docker-ce.repo"
set +x
echo "=================================================================================="
echo
echo "WARNING: Hardcoding repository to use Fedora 26 repositories"
echo " You will need to update your repositories after the release of 17.12.0-ce"
echo
echo " See: https://github.com/docker/for-linux/issues/164#issuecomment-345034887"
echo
echo "=================================================================================="
sleep 10
set -x
fi
# DELETE TO HERE