From 0313011cf4b943d65109bbfc8e102fbb98b62e6e Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 28 Nov 2021 18:13:54 +0100 Subject: [PATCH] two new recipes virtual encrypted server virtual desktop, install from a CD --- blocks/virtual-desktop-hypervisor-cdrom.cfg | 23 +++++++++++++++++++++ blocks/virtual-server-encrypted.cfg | 23 +++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 blocks/virtual-desktop-hypervisor-cdrom.cfg create mode 100644 blocks/virtual-server-encrypted.cfg diff --git a/blocks/virtual-desktop-hypervisor-cdrom.cfg b/blocks/virtual-desktop-hypervisor-cdrom.cfg new file mode 100644 index 0000000..d674251 --- /dev/null +++ b/blocks/virtual-desktop-hypervisor-cdrom.cfg @@ -0,0 +1,23 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ + +# What ? This kickstart file bootstraps a desktop hypervisor meant to be installed inside a virtual machine. + +# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. +# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : +# ksflatten -c virtual-desktop-hypervisor-cdrom.cfg -o ../leaves/virtual-phyllome-desktop-cdrom.cfg + +%include base-fedora-cdrom-repo.cfg # use the cdrom as means of installation +%include base-storage.cfg # base storage +%include base.cfg # A minimal machine +%include base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager +%include base-desktop-virtual-machine-manager.cfg # the virtual machine manager +%include base-hypervisor.cfg # A base hypervisor +%include base-guest-agents.cfg # Guest agents +%include base-initial-setup-gnome.cfg # Includes initial-setup for GNOME + +reboot --kexec # Reboot straight into the system after a successfull installation \ No newline at end of file diff --git a/blocks/virtual-server-encrypted.cfg b/blocks/virtual-server-encrypted.cfg new file mode 100644 index 0000000..fc4c6c5 --- /dev/null +++ b/blocks/virtual-server-encrypted.cfg @@ -0,0 +1,23 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ +# +# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented system shipping with full disk encryption. + +# NOT FULLY AUTOMATED : Requires user input during installation, specifically a passhprase 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 ../leaves/virtual-server-encrypted.cfg + +%include base-fedora-repo.cfg # offical repositories for Fedora +%include base-storage-encrypted.cfg # base encrypted storage +%include base.cfg # A base system +%include base-guest-agents.cfg # Guest agents +%include base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created + +reboot --kexec # Reboot straight into the system after a successfull installation +