forked from roots/phyllomeos
		
	specific ks for virt-manager
This commit is contained in:
		
							
								
								
									
										26
									
								
								blocks/base-desktop-virtual-machine-manager.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								blocks/base-desktop-virtual-machine-manager.cfg
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| #            __          ____                        ____  _____ | ||||
| #     ____  / /_  __  __/ / /___  ____ ___  ___     / __ \/ ___/ | ||||
| #    / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \   / / / /\__ \ | ||||
| #   / /_/ / / / / /_/ / / / /_/ / / / / / /  __/  / /_/ /___/ / | ||||
| #  / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/   \____//____/ | ||||
| # /_/          /____/ | ||||
|  | ||||
| # What ? This kickstart file provides the virtual machine manager and sets it to auto-launch. | ||||
|  | ||||
| %packages --exclude-weakdeps # Beginning of the packages section. Excludes weak package dependencies | ||||
|  | ||||
| virt-manager # Install virt-manager, a graphical front-end for QEMU/KVM | ||||
|  | ||||
| %end | ||||
|  | ||||
| %post --nochroot --log=/mnt/sysimage/opt/base-desktop-gnome-virtual-machine-manager.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging. | ||||
|  | ||||
| # Create a file to autostart virt-manager | ||||
| cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF | ||||
| [Desktop Entry] | ||||
| Type=Application | ||||
| Name=Virtual Machine Manager | ||||
| Exec=virt-manager | ||||
| EOF | ||||
|  | ||||
| %end # End of the %post section | ||||
		Reference in New Issue
	
	Block a user