From 8f99a0777393b69826a057bfdca1561971e673c3 Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 24 Jan 2022 15:41:56 +0100 Subject: [PATCH] add paths to new scripts --- ingredients/base-hypervisor.cfg | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/ingredients/base-hypervisor.cfg b/ingredients/base-hypervisor.cfg index e2a1c15..b6bb59d 100644 --- a/ingredients/base-hypervisor.cfg +++ b/ingredients/base-hypervisor.cfg @@ -17,9 +17,9 @@ libvirt-daemon-config-network libvirt-daemon-kvm virt-install virt-top -libguestfs-tools # Complementary tools useful for interacting with vith guest systems. Could probablby be removed for production-use -python3-libguestfs # Complementary tools useful for interacting with vith guest systems. Could probablby be removed for production-use -guestfs-tools # Complementary tools useful for interacting with vith guest systems. Could probablby be removed for production-use +libguestfs-tools # Complementary tools useful for interacting with vith guest systems. Could probablby be removed +python3-libguestfs # Complementary tools useful for interacting with vith guest systems. Could probablby be removed +guestfs-tools # Complementary tools useful for interacting with vith guest systems. Could probablby be removed %end # End of the packages section @@ -36,16 +36,23 @@ mkdir /mnt/sysimage/var/lib/libvirt/iso # Create a directory to store iso images wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /mnt/sysimage/var/lib/libvirt/iso/ # fetch netboot.xyz iso and store it to the newly created iso directory # fetch custom script and make it executable -wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post-first-startup-scripts/create-user-vms.sh -P /mnt/sysimage/usr/sbin/ -chmod +x /mnt/sysimage/usr/sbin/create-user-vms.sh +wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post-first-startup-scripts/create-generic-vm-virtio-spice.sh -P /mnt/sysimage/usr/local/bin/ +chmod +x /mnt/sysimage/usr/local/bin/create-generic-vm-virtio-spice.sh # fetch custom script and make it executable -wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post-first-startup-scripts/create-system-vms.sh -P /mnt/sysimage/usr/sbin/ -chmod +x /mnt/sysimage/usr/sbin/create-system-vms.sh +wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post-first-startup-scripts/deploy-minimal-server_1vCPU_2GB-RAM_5GB-disk.sh -P /mnt/sysimage/usr/local/bin/ +chmod +x /mnt/sysimage/usr/local/bin/deploy-minimal-server_1vCPU_2GB-RAM_5GB-disk.sh # fetch custom script and make it executable -wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post-first-startup-scripts/virtualization-tweaks-root-needed.sh -P /mnt/sysimage/usr/sbin/ -chmod +x /mnt/sysimage/usr/sbin/virtualization-tweaks-root-needed.sh +wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post-first-startup-scripts/deploy-minimal-workstation_2vCPU_4GB-RAM_10GB-disk.sh -P /mnt/sysimage/usr/local/bin/ +chmod +x /mnt/sysimage/usr/local/bin/deploy-minimal-workstation_2vCPU_4GB-RAM_10GB-disk.sh -%end # End of the %post section +# fetch custom script and make it executable +wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post-first-startup-scripts/deploy-phyllome-desktop_4vCPU_8GB-RAM_20GB-disk.sh -P /mnt/sysimage/usr/local/bin/ +chmod +x /mnt/sysimage/usr/local/bin/deploy-phyllome-desktop_4vCPU_8GB-RAM_20GB-disk.sh +# fetch custom script and make it executable +wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post-first-startup-scripts/virtualization-tweaks-root-needed.sh -P /mnt/sysimage/usr/local/bin/ +chmod +x /mnt/sysimage/usr/local/bin/virtualization-tweaks-root-needed.sh + +%end # End of the %post section \ No newline at end of file