From 9900021d24257635ec8c9b40409157293a448cad Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Jul 22 2019 20:58:51 +0000 Subject: add some image definitions --- diff --git a/c8.conf b/c8.conf index 88fbd82..0459ee8 100644 --- a/c8.conf +++ b/c8.conf @@ -1,5 +1,6 @@ from multilib import * from include-excludes import * +from images import * # PRODUCT INFO release_name = "CentOS Linux" @@ -87,7 +88,8 @@ buildinstall_method = "lorax" lorax_options = [ ("^.*$", { "*": { - "noupgrade": False + "noupgrade": False, + "rootfs_size": 3 } }) ] @@ -113,6 +115,14 @@ createiso_skip = [ }), ] +extra_isos = { + "BaseOS": [{ + "include_variants": ["AppStream"], + "filename": "{compose_id}-{arch}-{disc_type}{disc_num}{suffix}", + "skip_src": False, + }] +} + restricted_volid = True # LOOKASIDE diff --git a/images.conf b/images.conf new file mode 100644 index 0000000..36fafb9 --- /dev/null +++ b/images.conf @@ -0,0 +1,38 @@ +image_build = { + "^BaseOS$": [ + { + "image-build": { + "format": [("qcow2", "qcow2")], + "name": "CentOS-8.0.1905-GenericCloud", + "version": "8", + "ksurl": "git+https://git.centos.org/CentOS/kickstarts.git?#HEAD", + "kickstart": "CentOS-8-GenericCloud.ks", + "distro": "Fedora-20", + "disk-size": "10", + "arches": ["x86_64"], + "repo": ["BaseOS", "AppStream"], + "failable": ["*"], + }, + "factory-parameters": { + "generate_icicle": False, + } + }, + { + "image-build": { + "format": [("docker", "tar.gz")], + "name": "CentOS-8.0.1905-Docker", + "version": "8", + "ksurl": "git+https://git.centos.org/CentOS/kickstarts.git?#HEAD", + "kickstart": "centos-8.ks", + "distro": "Fedora-20", + "disk-size": "10", + "arches": ["x86_64"], + "repo": ["BaseOS", "AppStream"], + "failable": ["*"], + }, + "factory-parameters": { + "generate_icicle": False, + } + } + ] +}