39 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| #            __          ____                        ____  _____
 | |
| #     ____  / /_  __  __/ / /___  ____ ___  ___     / __ \/ ___/
 | |
| #    / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \   / / / /\__ \
 | |
| #   / /_/ / / / / /_/ / / / /_/ / / / / / /  __/  / /_/ /___/ /
 | |
| #  / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/   \____//____/
 | |
| # /_/          /____/
 | |
| 
 | |
| # What ? This kickstart file bootstraps a minimal GNOME-based desktop-oriented virtual machine.
 | |
| # 'v' for virtual machine, 'd' for desktop, 'm' for minimal, 'd' for development only.
 | |
| 
 | |
| # ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. 
 | |
| # Bye bye!
 | |
| 
 | |
| %include vmd.cfg # Include vmd.cfg, a minimal system based on Fedora 34.
 | |
| 
 | |
| xconfig --startxonboot --defaultdesktop=GNOME # Start GNOME on boot. Althought it says X, it works as well with Wayland
 | |
| # firstboot --enable --reconfig # Initial Setup will start after the first reboot
 | |
| 
 | |
| %packages # Beginning of the post-installation section
 | |
| 
 | |
| spice-vdagent # Try to install spice-vdagent after the installation is done
 | |
| dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in the gnome-terminal.
 | |
| elementary-wallpapers-gnome.noarch # Gorgeous wallpapers
 | |
| wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager.
 | |
| # initial-setup-gui # Wasn't able to make it working. 
 | |
| # gnome-initial-setup # Add GNOME initial setup too. Does work.
 | |
| -gnome-tour # We don't want GNOME-tour to open at launch so we delete it
 | |
| gnome-shell
 | |
| gnome-terminal
 | |
| nano # Minimal GNOME shell or desktop environment plus the nano text editor
 | |
| 
 | |
| %end
 | |
| 
 | |
| %post
 | |
| 
 | |
| # systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd. 
 | |
| # Alternatively, that could be tested outside of the post section  xconfig --startxonboot --defaultdesktop=GNOME
 | |
| 
 | |
| %end # End of the %post section |