From af50200863b4f7d32c9c78e8ab5a472987d73c9d Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 21 Nov 2017 10:56:23 +1100 Subject: [PATCH] Update Fedora defaults to 27 Update the Fedora defaults to now released F27 Change-Id: I7655ad010dfa668bd68b7a619d85e5f694f96806 --- .../fedora-minimal/environment.d/10-fedora-distro-name.bash | 2 +- .../elements/fedora/environment.d/10-fedora-distro-name.bash | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/diskimage_builder/elements/fedora-minimal/environment.d/10-fedora-distro-name.bash b/diskimage_builder/elements/fedora-minimal/environment.d/10-fedora-distro-name.bash index b044581a..6439a368 100644 --- a/diskimage_builder/elements/fedora-minimal/environment.d/10-fedora-distro-name.bash +++ b/diskimage_builder/elements/fedora-minimal/environment.d/10-fedora-distro-name.bash @@ -1,2 +1,2 @@ export DISTRO_NAME=fedora -export DIB_RELEASE=${DIB_RELEASE:-26} +export DIB_RELEASE=${DIB_RELEASE:-27} diff --git a/diskimage_builder/elements/fedora/environment.d/10-fedora-distro-name.bash b/diskimage_builder/elements/fedora/environment.d/10-fedora-distro-name.bash index b9a87ac1..e7f7d12e 100644 --- a/diskimage_builder/elements/fedora/environment.d/10-fedora-distro-name.bash +++ b/diskimage_builder/elements/fedora/environment.d/10-fedora-distro-name.bash @@ -1,5 +1,5 @@ export DISTRO_NAME=fedora -export DIB_RELEASE=${DIB_RELEASE:-26} +export DIB_RELEASE=${DIB_RELEASE:-27} # Note the filename URL has a "sub-release" in it # http:// ... Fedora-Cloud-Base-25-1.3.x86_64.qcow2 @@ -15,6 +15,8 @@ if [[ ${DIB_RELEASE} == '25' ]]; then export DIB_FEDORA_SUBRELEASE=1.3 elif [[ ${DIB_RELEASE} == '26' ]]; then export DIB_FEDORA_SUBRELEASE=1.5 +elif [[ ${DIB_RELEASE} == '27' ]]; then + export DIB_FEDORA_SUBRELEASE=1.6 else echo "Unsupported Fedora release" exit 1