diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e39fda82843c05dc2f6895dbb8a89c1a20cf50e..322006a7e8da55a5f1b3ae22713d9c4e2012e258 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,6 +82,9 @@ build_centos8-x64-min: build_centosstream8-x64-min: <<: *defaults-build +build_centosstream9-x64-min: + <<: *defaults-build + # Rocky build_rocky8-x64-min: <<: *defaults-build diff --git a/centosstream9-x64-min.yaml b/centosstream9-x64-min.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0d2ecd4d067189328782a3de4f48e702b4d02072 --- /dev/null +++ b/centosstream9-x64-min.yaml @@ -0,0 +1,63 @@ +#============================================================================== +# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 cc=81 tw=80 +#============================================================================== +# +# DESCRIPTION: Centos Stream 9 x64 min Grid'5000 environment +# +#============================================================================== +--- +extend: from_scratch/centos-stream-9.yaml + +global: + appliance_formats: qcow2 tar.zst + # Output base filename + output: "$${kameleon_cwd}/$${kameleon_recipe_name}" + # Grid'5000 environment variant + g5k_variant: min + # Grid'5000 environment version + g5k_version: 1111111111 + # Grid'5000 environment arch + g5k_image_arch: x64 + g5k_distrib: centosstream + # Grid'5000 kadeploy environment parameters + g5k_tar_path: server:///path/to/your/image + g5k_tar_compression: "zstd" + g5k_postinst_path: server:///grid5000/postinstalls/g5k-postinstall.tgz + g5k_postinst_compression: "gzip" + g5k_postinst_script: g5k-postinstall --net redhat --disk-aliases + g5k_kernel_params: "crashkernel=no" + g5k_kernel_path: "/vmlinuz" + g5k_initrd_path: "/initramfs.img" + g5k_no_chroot_for_grub: "true" + # Packages to install + packages: "zstd" + # locales + locales: POSIX C en_US.UTF8 + lang: en_US.UTF8 + timezone: Europe/Paris + # password + root_password: grid5000 + + include_steps: + - $${distrib}/$${release} + - $${distrib} + - centos/$${release} + - centos + +bootstrap: + - "@base" + +setup: + - create_kernel_symlinks + - "@base" + - configure_system + - install_packages + - disable_kdump + - set_g5k_release + - set_g5k_motd + +export: + - clean_dhcp_leases + - "@base" + - do_qcow2_finish_works + - export_g5k diff --git a/from_scratch/centos-stream-8.yaml b/from_scratch/centos-stream-8.yaml index 27b85e184eee85348e6f6f6fb3d909d941abb63b..493b81ba07c901336d1bd811f4bad7d41b0743f0 100644 --- a/from_scratch/centos-stream-8.yaml +++ b/from_scratch/centos-stream-8.yaml @@ -10,9 +10,6 @@ extend: centos-stream-base.yaml global: release_number: 8 - installer_iso_finder_mirror_url: http://mirror.in2p3.fr/linux/CentOS/ - mirror_base_url: http://mirror.centos.org/centos/ - mirror_url: $${mirror_base_url}$${release}-stream/BaseOS/$${arch}/os bootstrap: - "@base" diff --git a/from_scratch/centos-stream-9.yaml b/from_scratch/centos-stream-9.yaml index ad1c0d68d835ed05b362a0ea3ebf0fdd81ced122..aa0160dcf15cc5f6976b90c5c6af8b64b6ff56ac 100644 --- a/from_scratch/centos-stream-9.yaml +++ b/from_scratch/centos-stream-9.yaml @@ -10,7 +10,7 @@ extend: centos-stream-base.yaml global: release_number: 9 - mirror_url: $${mirror_base_url}$${release}/BaseOS/$${arch}/os + mirror_base_url: http://mirror.in2p3.fr/linux/$${distrib}/ bootstrap: - "@base" diff --git a/from_scratch/centos-stream-base.yaml b/from_scratch/centos-stream-base.yaml index 4948ee5ac0962f8ad596e16ea2081e4897ea8be1..4fe966c7eb37bc5eaa1edbab6e1921c1d7673bec 100644 --- a/from_scratch/centos-stream-base.yaml +++ b/from_scratch/centos-stream-base.yaml @@ -2,7 +2,7 @@ # vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 cc=81 tw=80 #============================================================================== # -# DESCRIPTION: Centos 8 recipe using the netinstall mechanism +# DESCRIPTION: Centos Stream 8 base recipe using the netinstall mechanism # #============================================================================== --- @@ -10,14 +10,15 @@ extend: centos-base.yaml global: distrib: centos-stream - release_number: 9 - mirror_base_url: http://mirror.stream.centos.org/ + release_number: 8 + mirror_base_url: http://mirror.in2p3.fr/linux/CentOS/ mirror_url: $${mirror_base_url}$${release}-stream/BaseOS/$${arch}/os include_steps: - $${distrib}/$${release} - $${distrib} - centos + - centos/$${release} bootstrap: - "@base"