Add fedora-coreos distro

Fedora-coreos driver has been added in train. So make its image can
be chosen in the UI.

Make distros listed in order.

Closes-Bug: #1855691
Change-Id: Ic436022b36470870f1ba6903515cee5b2bb1725f
(cherry picked from commit 7853f0a4f2)
This commit is contained in:
Xinliang Liu 2019-12-09 18:22:34 +08:00 committed by Bharat Kunwar
parent 5763f3b40a
commit d69b47d8d5
2 changed files with 6 additions and 1 deletions

View File

@ -60,7 +60,7 @@
* @description A list available image distros for magnum
*/
function distros() {
return ["fedora-atomic", "coreos", "ubuntu"];
return ["coreos", "fedora-atomic", "fedora-coreos", "ubuntu"];
}
run.$inject = [

View File

@ -0,0 +1,5 @@
---
features:
- |
Add fedora-coreos image support. User can choose an image with property
'os_distro=fedora-coreos' on horizon UI when creating a k8s cluster template.