Reduce duplication in configuration

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-04-14 13:57:27 +02:00
parent 1a2692bdaf
commit 21024d15e0

View File

@ -273,17 +273,19 @@ translate_paths = [
] ]
# These will be inherited by live_media, live_images and image_build
global_ksurl = 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD'
global_release = None
global_version = 'Rawhide'
# live_images ignores this in favor of live_target
global_target = 'f25'
image_build = { image_build = {
'^Docker$': [ '^Docker$': [
{ {
'image-build': { 'image-build': {
'format': [('docker', 'tar.xz')] 'format': [('docker', 'tar.xz')]
'name': 'Fedora-Docker-Base', 'name': 'Fedora-Docker-Base',
'target': 'f25',
'version': 'Rawhide',
'release': None,
# correct SHA1 hash will be put into the URL below automatically
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'kickstart': 'fedora-docker-base.ks', 'kickstart': 'fedora-docker-base.ks',
'distro': 'Fedora-20', 'distro': 'Fedora-20',
'disk_size': 3, 'disk_size': 3,
@ -299,10 +301,6 @@ image_build = {
'image-build': { 'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')] 'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')]
'name': 'Fedora-Cloud-Base', 'name': 'Fedora-Cloud-Base',
'target': 'f25',
'version': 'Rawhide',
'release': None,
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'kickstart': 'fedora-cloud-base.ks', 'kickstart': 'fedora-cloud-base.ks',
'distro': 'Fedora-20', 'distro': 'Fedora-20',
'disk_size': 3, 'disk_size': 3,
@ -316,10 +314,6 @@ image_build = {
'image-build': { 'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')] 'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')]
'name': 'Fedora-Cloud-Base-Vagrant', 'name': 'Fedora-Cloud-Base-Vagrant',
'target': 'f25',
'version': 'Rawhide',
'release': None,
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'kickstart': 'fedora-cloud-base-vagrant.ks', 'kickstart': 'fedora-cloud-base-vagrant.ks',
'distro': 'Fedora-20', 'distro': 'Fedora-20',
'disk_size': 40, 'disk_size': 40,
@ -333,10 +327,6 @@ image_build = {
'image-build': { 'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')] 'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')]
'name': 'Fedora-Atomic', 'name': 'Fedora-Atomic',
'target': 'f25',
'version': 'Rawhide',
'release': None,
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'kickstart': 'fedora-atomic.ks', 'kickstart': 'fedora-atomic.ks',
'distro': 'Fedora-20', 'distro': 'Fedora-20',
'disk_size': 6, 'disk_size': 6,
@ -350,10 +340,6 @@ image_build = {
'image-build': { 'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')] 'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')]
'name': 'Fedora-Atomic-Vagrant', 'name': 'Fedora-Atomic-Vagrant',
'target': 'f25',
'version': 'Rawhide',
'release': None,
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'kickstart': 'fedora-atomic-vagrant.ks', 'kickstart': 'fedora-atomic-vagrant.ks',
'distro': 'Fedora-20', 'distro': 'Fedora-20',
'disk_size': 40, 'disk_size': 40,
@ -366,12 +352,6 @@ image_build = {
], ],
} }
# These will be inherited for all live media
live_media_ksurl = 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD'
live_media_release = None
live_media_version = 'Rawhide'
live_media_target = 'f25'
live_media = { live_media = {
'^Workstation$': [ '^Workstation$': [
{ {
@ -512,9 +492,6 @@ live_images = [
'armhfp': { 'armhfp': {
'kickstart': 'fedora-arm-workstation.ks', 'kickstart': 'fedora-arm-workstation.ks',
'name': 'Fedora-Workstation-armhfp', 'name': 'Fedora-Workstation-armhfp',
'version': 'Rawhide',
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'release': None,
'type': 'appliance' 'type': 'appliance'
} }
}), }),
@ -522,9 +499,6 @@ live_images = [
'armhfp': { 'armhfp': {
'kickstart': 'fedora-arm-server.ks', 'kickstart': 'fedora-arm-server.ks',
'name': 'Fedora-Server-armhfp', 'name': 'Fedora-Server-armhfp',
'version': 'Rawhide',
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'release': None,
'type': 'appliance' 'type': 'appliance'
} }
}), }),
@ -532,9 +506,6 @@ live_images = [
'armhfp': [{ 'armhfp': [{
'kickstart': 'fedora-arm-kde.ks', 'kickstart': 'fedora-arm-kde.ks',
'name': 'Fedora-KDE-armhfp', 'name': 'Fedora-KDE-armhfp',
'version': 'Rawhide',
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'release': None,
'repo_from': 'Everything', 'repo_from': 'Everything',
'type': 'appliance', 'type': 'appliance',
'subvariant': 'KDE' 'subvariant': 'KDE'
@ -542,9 +513,6 @@ live_images = [
{ {
'kickstart': 'fedora-arm-lxde.ks', 'kickstart': 'fedora-arm-lxde.ks',
'name': 'Fedora-LXDE-armhfp', 'name': 'Fedora-LXDE-armhfp',
'version': 'Rawhide',
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'release': None,
'repo_from': 'Everything', 'repo_from': 'Everything',
'type': 'appliance', 'type': 'appliance',
'subvariant': 'LXDE' 'subvariant': 'LXDE'
@ -552,9 +520,6 @@ live_images = [
{ {
'kickstart': 'fedora-arm-mate.ks', 'kickstart': 'fedora-arm-mate.ks',
'name': 'Fedora-Mate-armhfp', 'name': 'Fedora-Mate-armhfp',
'version': 'Rawhide',
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'release': None,
'repo_from': 'Everything', 'repo_from': 'Everything',
'type': 'appliance', 'type': 'appliance',
'subvariant': 'Mate' 'subvariant': 'Mate'
@ -562,9 +527,6 @@ live_images = [
{ {
'kickstart': 'fedora-arm-minimal.ks', 'kickstart': 'fedora-arm-minimal.ks',
'name': 'Fedora-Minimal-armhfp', 'name': 'Fedora-Minimal-armhfp',
'version': 'Rawhide',
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'release': None,
'repo_from': 'Everything', 'repo_from': 'Everything',
'type': 'appliance', 'type': 'appliance',
'subvariant': 'Minimal' 'subvariant': 'Minimal'
@ -572,9 +534,6 @@ live_images = [
{ {
'kickstart': 'fedora-arm-soas.ks', 'kickstart': 'fedora-arm-soas.ks',
'name': 'Fedora-SoaS-armhfp', 'name': 'Fedora-SoaS-armhfp',
'version': 'Rawhide',
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'release': None,
'repo_from': 'Everything', 'repo_from': 'Everything',
'type': 'appliance', 'type': 'appliance',
'subvariant': 'SoaS' 'subvariant': 'SoaS'
@ -582,9 +541,6 @@ live_images = [
{ {
'kickstart': 'fedora-arm-xfce.ks', 'kickstart': 'fedora-arm-xfce.ks',
'name': 'Fedora-Xfce-armhfp', 'name': 'Fedora-Xfce-armhfp',
'version': 'Rawhide',
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'release': None,
'repo_from': 'Everything', 'repo_from': 'Everything',
'type': 'appliance', 'type': 'appliance',
'subvariant': 'Xfce' 'subvariant': 'Xfce'