From 8e276a1fed80a77caf66750efd86e8f312764c64 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 20 Aug 2018 17:49:13 -0400 Subject: [PATCH] Initial commit --- COPYING | 21 +++++++++++++++++++++ LICENSE | 1 + README.md | 3 +++ fedora-coreos-base.yaml | 33 +++++++++++++++++++++++++++++++++ fedora-coreos.yaml | 8 ++++++++ fedora.repo | 36 ++++++++++++++++++++++++++++++++++++ minimal.yaml | 24 ++++++++++++++++++++++++ 7 files changed, 126 insertions(+) create mode 100644 COPYING create mode 120000 LICENSE create mode 100644 README.md create mode 100644 fedora-coreos-base.yaml create mode 100644 fedora-coreos.yaml create mode 100644 fedora.repo create mode 100644 minimal.yaml diff --git a/COPYING b/COPYING new file mode 100644 index 00000000..b81e261c --- /dev/null +++ b/COPYING @@ -0,0 +1,21 @@ +Copyright 2018 Fedora CoreOS Authors. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/LICENSE b/LICENSE new file mode 120000 index 00000000..d24842f3 --- /dev/null +++ b/LICENSE @@ -0,0 +1 @@ +COPYING \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..cf17c5c9 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +Base manifest configuration for Fedora CoreOS. + +This is the successor to https://pagure.io/fedora-atomic diff --git a/fedora-coreos-base.yaml b/fedora-coreos-base.yaml new file mode 100644 index 00000000..dcb85417 --- /dev/null +++ b/fedora-coreos-base.yaml @@ -0,0 +1,33 @@ +# Base packages for a Fedora CoreOS like system +include: minimal.yaml + +packages: + # SELinux + - selinux-policy-targeted policycoreutils-python + - setools-console + # System setup + - ignition ignition-dracut + - dracut-network + - passwd + # SSH + - openssh-server openssh-clients + # Containers + - podman skopeo runc + # Networking + - bridge-utils nfs-utils biosdevname iptables-services + - NetworkManager dnsmasq + # Storage + - container-storage-setup cloud-utils-growpart + - lvm2 iscsi-initiator-utils sg3_utils + - device-mapper-multipath + - xfsprogs e2fsprogs mdadm + - cryptsetup + # Time sync + - chrony + # Extra runtime + - authconfig sssd shadow-utils + - logrotate + # Used by admins interactively + - sudo coreutils less tar xz gzip bzip2 rsync tmux + - nmap-ncat net-tools bind-utils + - bash-completion diff --git a/fedora-coreos.yaml b/fedora-coreos.yaml new file mode 100644 index 00000000..7b8239b2 --- /dev/null +++ b/fedora-coreos.yaml @@ -0,0 +1,8 @@ +ref: fedora/28/x86_64/coreos +releasever: 28 +include: fedora-coreos-base.yaml + +rojig: + license: MIT + name: fedora-coreos + summary: Fedora CoreOS base image diff --git a/fedora.repo b/fedora.repo new file mode 100644 index 00000000..90b6904f --- /dev/null +++ b/fedora.repo @@ -0,0 +1,36 @@ +[fedora] +name=Fedora $releasever - $basearch +failovermethod=priority +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/28/Everything/$basearch/os/ +metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch +enabled=1 +#metadata_expire=7d +repo_gpgcheck=0 +type=rpm +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-$basearch +skip_if_unavailable=False + +[fedora-updates] +name=Fedora $releasever - $basearch - Updates +failovermethod=priority +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/28/$basearch/ +metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch +enabled=1 +repo_gpgcheck=0 +type=rpm +gpgcheck=1 +metadata_expire=6h +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-$basearch +skip_if_unavailable=False + +[fedora-updates-testing] +name=Fedora $releasever - $basearch - Test Updates +failovermethod=priority +#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/28/$basearch/ +metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch +enabled=1 +gpgcheck=1 +metadata_expire=6h +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-$basearch +skip_if_unavailable=False diff --git a/minimal.yaml b/minimal.yaml new file mode 100644 index 00000000..5884037a --- /dev/null +++ b/minimal.yaml @@ -0,0 +1,24 @@ +repos: + - fedora + - fedora-updates +# This minimal base starts just from: kernel + systemd + rpm-ostree + bootloader. +# In Fedora there's a whole lot of deps; but it won't even have e.g. OpenSSH. +packages: + # Kernel + systemd + - kernel systemd + # rpm-ostree + - rpm-ostree nss-altfiles + +# bootloader +packages-aarch64: + - grub2-efi ostree-grub2 efibootmgr shim + - uboot-tools uboot-images-armv8 bcm283x-firmware +packages-armhfp: + - extlinux-bootloader +packages-ppc64le: + - grub2 ostree-grub2 +packages-s390x: + - s390utils-base +packages-x86_64: + - grub2 grub2-efi-x64 ostree-grub2 efibootmgr shim + - microcode_ctl