From edb503aef05ce80f04f7fcd88610ee0a0c9e60ba Mon Sep 17 00:00:00 2001 From: lukas Date: Mon, 29 May 2023 21:02:43 +0200 Subject: [PATCH] add instruction add instruction to flatten all the files --- recipes/desktop-hypervisor-amdcpu.cfg | 3 +++ .../desktop-hypervisor-intelcpu-intelgpu.cfg | 3 +++ recipes/desktop-hypervisor-intelcpu.cfg | 3 +++ recipes/desktop-hypervisor.cfg | 3 +++ recipes/desktop.cfg | 3 +++ ...e-desktop-hypervisor-intelcpu-intelgpu.cfg | 3 +++ recipes/live-desktop-hypervisor-intelcpu.cfg | 3 +++ recipes/live-desktop-hypervisor.cfg | 3 +++ recipes/live-desktop.cfg | 3 +++ recipes/nano.cfg | 3 +++ recipes/virtual-desktop-hypervisor.cfg | 3 +++ recipes/virtual-desktop.cfg | 3 +++ recipes/virtual-server-encrypted.cfg | 22 ------------------- recipes/virtual-server.cfg | 3 +++ 14 files changed, 39 insertions(+), 22 deletions(-) delete mode 100644 recipes/virtual-server-encrypted.cfg diff --git a/recipes/desktop-hypervisor-amdcpu.cfg b/recipes/desktop-hypervisor-amdcpu.cfg index bbccc67..bf46010 100644 --- a/recipes/desktop-hypervisor-amdcpu.cfg +++ b/recipes/desktop-hypervisor-amdcpu.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c desktop-hypervisor-amdcpu.cfg -o ../dishes/phyllome-desktop-amdcpu.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-storage.cfg # base storage %include ../ingredients/base.cfg # A minimal machine diff --git a/recipes/desktop-hypervisor-intelcpu-intelgpu.cfg b/recipes/desktop-hypervisor-intelcpu-intelgpu.cfg index e7f03b2..380d5f2 100644 --- a/recipes/desktop-hypervisor-intelcpu-intelgpu.cfg +++ b/recipes/desktop-hypervisor-intelcpu-intelgpu.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c desktop-hypervisor-intelcpu-intelgpu.cfg -o ../dishes/phyllome-desktop-intelcpu-intelgpu.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-storage.cfg # base storage %include ../ingredients/base.cfg # A minimal machine diff --git a/recipes/desktop-hypervisor-intelcpu.cfg b/recipes/desktop-hypervisor-intelcpu.cfg index 2cbc3d2..9d3e62c 100644 --- a/recipes/desktop-hypervisor-intelcpu.cfg +++ b/recipes/desktop-hypervisor-intelcpu.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c desktop-hypervisor-intelcpu.cfg -o ../dishes/phyllome-desktop-intelcpu.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-storage.cfg # base storage %include ../ingredients/base.cfg # A minimal machine diff --git a/recipes/desktop-hypervisor.cfg b/recipes/desktop-hypervisor.cfg index 34ef3a2..94e0f46 100644 --- a/recipes/desktop-hypervisor.cfg +++ b/recipes/desktop-hypervisor.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c desktop-hypervisor.cfg -o ../dishes/phyllome-desktop.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-storage.cfg # base storage %include ../ingredients/base.cfg # A minimal machine diff --git a/recipes/desktop.cfg b/recipes/desktop.cfg index 1b97f22..79b5ad9 100644 --- a/recipes/desktop.cfg +++ b/recipes/desktop.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c desktop.cfg -o ../dishes/desktop.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-storage.cfg # base storage %include ../ingredients/base.cfg # A minimal machine diff --git a/recipes/live-desktop-hypervisor-intelcpu-intelgpu.cfg b/recipes/live-desktop-hypervisor-intelcpu-intelgpu.cfg index d55c1bd..5b285e3 100644 --- a/recipes/live-desktop-hypervisor-intelcpu-intelgpu.cfg +++ b/recipes/live-desktop-hypervisor-intelcpu-intelgpu.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c live-desktop-hypervisor-intelcpu-intelgpu -o ../dishes/live-phyllome-desktop-intelcpu-intelgpu.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + # Instructions for creating an ISO file: # Temporary disable SELinux: # setenforce 0 diff --git a/recipes/live-desktop-hypervisor-intelcpu.cfg b/recipes/live-desktop-hypervisor-intelcpu.cfg index ebc1a87..07c4da7 100644 --- a/recipes/live-desktop-hypervisor-intelcpu.cfg +++ b/recipes/live-desktop-hypervisor-intelcpu.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c live-desktop-hypervisor-intelcpu.cfg -o ../dishes/live-phyllome-desktop-intelcpu.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + # Instructions for creating an ISO file: # Temporary disable SELinux: # setenforce 0 diff --git a/recipes/live-desktop-hypervisor.cfg b/recipes/live-desktop-hypervisor.cfg index 047bd9a..0039538 100644 --- a/recipes/live-desktop-hypervisor.cfg +++ b/recipes/live-desktop-hypervisor.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c live-desktop-hypervisor.cfg -o ../dishes/live-phyllome-desktop.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + # Instructions for creating an ISO file # Temporary disable SELinux: # setenforce 0 diff --git a/recipes/live-desktop.cfg b/recipes/live-desktop.cfg index 59c8b73..d4ed7d6 100644 --- a/recipes/live-desktop.cfg +++ b/recipes/live-desktop.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c live-desktop.cfg -o ../dishes/live-desktop.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + # Instructions for creating an ISO file # Temporary disable SELinux: # setenforce 0 diff --git a/recipes/nano.cfg b/recipes/nano.cfg index f987dee..fa47846 100644 --- a/recipes/nano.cfg +++ b/recipes/nano.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c nano.cfg -o ../dishes/nano-server-a.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-storage.cfg # base storage %include ../ingredients/base-nano.cfg # A base system diff --git a/recipes/virtual-desktop-hypervisor.cfg b/recipes/virtual-desktop-hypervisor.cfg index 781b3f4..586669f 100644 --- a/recipes/virtual-desktop-hypervisor.cfg +++ b/recipes/virtual-desktop-hypervisor.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c virtual-desktop-hypervisor.cfg -o ../dishes/virtual-phyllome-desktop.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-storage.cfg # base storage %include ../ingredients/base.cfg # A minimal machine diff --git a/recipes/virtual-desktop.cfg b/recipes/virtual-desktop.cfg index f35356f..170eccb 100644 --- a/recipes/virtual-desktop.cfg +++ b/recipes/virtual-desktop.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c virtual-desktop.cfg -o ../dishes/virtual-desktop.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-storage.cfg # base storage %include ../ingredients/base.cfg # A minimal machine diff --git a/recipes/virtual-server-encrypted.cfg b/recipes/virtual-server-encrypted.cfg deleted file mode 100644 index 43bfb1a..0000000 --- a/recipes/virtual-server-encrypted.cfg +++ /dev/null @@ -1,22 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ -# -# What ? This kickstart file bootstraps a server-oriented system shipping with full disk encryption. - -# NOT FULLY AUTOMATED : Requires user input during installation to specify a passphrase to unlock the root partition - -# In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened. -# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : -# ksflatten -c virtual-server-encrypted.cfg -o ../dishes/virtual-server-encrypted.cfg - -%include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora -%include ../ingredients/base-storage-encrypted.cfg # base encrypted storage -%include ../ingredients/base.cfg # A base system -%include ../ingredients/base-guest-agents.cfg # Guest agents -%include ../ingredients/base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created - -poweroff # Shut down the system after a successful installation \ No newline at end of file diff --git a/recipes/virtual-server.cfg b/recipes/virtual-server.cfg index 2966a46..bc30608 100644 --- a/recipes/virtual-server.cfg +++ b/recipes/virtual-server.cfg @@ -11,6 +11,9 @@ # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # ksflatten -c virtual-server.cfg -o ../dishes/virtual-server.cfg +# to flatten all the files in the recipes repository, to the following +# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done + %include ../ingredients/base-fedora-repo.cfg # Offical repositories for Fedora %include ../ingredients/base-storage.cfg # A base storage %include ../ingredients/base.cfg # A base system