@@ -229,9 +229,13 @@ build-qcow2 $target_image=("localhost/" + image_name) $tag=default_tag: && (_bui
229229[group (' Build Virtal Machine Image' )]
230230build-raw $ target_image = (" localhost/" + image_name) $ tag = default_tag: && (_build-bib target_image tag " raw" " disk_config/disk.toml" )
231231
232- # Build an ISO virtual machine image
232+ # Build an ISO installer image
233233[group (' Build Virtal Machine Image' )]
234- build-iso $ target_image = (" localhost/" + image_name) $ tag = default_tag: && (_build-bib target_image tag " iso" " disk_config/iso.toml" )
234+ build-iso $ target_image = (" localhost/" + image_name) $ tag = default_tag: && (_build-bib target_image tag " anaconda-iso" " disk_config/iso-gnome.toml" )
235+
236+ # Build an ISO installer image (NVIDIA variant)
237+ [group (' Build Virtal Machine Image' )]
238+ build-iso-nvidia $ target_image = (" localhost/" + image_name) $ tag = (default_tag + " -nvidia" ): && (_build-bib target_image tag " anaconda-iso" " disk_config/iso-nvidia.toml" )
235239
236240# Rebuild a QCOW2 virtual machine image
237241[group (' Build Virtal Machine Image' )]
@@ -241,9 +245,13 @@ rebuild-qcow2 $target_image=("localhost/" + image_name) $tag=default_tag: && (_r
241245[group (' Build Virtal Machine Image' )]
242246rebuild-raw $ target_image = (" localhost/" + image_name) $ tag = default_tag: && (_rebuild-bib target_image tag " raw" " disk_config/disk.toml" )
243247
244- # Rebuild an ISO virtual machine image
248+ # Rebuild an ISO installer image
249+ [group (' Build Virtal Machine Image' )]
250+ rebuild-iso $ target_image = (" localhost/" + image_name) $ tag = default_tag: && (_rebuild-bib target_image tag " anaconda-iso" " disk_config/iso-gnome.toml" )
251+
252+ # Rebuild an ISO installer image (NVIDIA variant)
245253[group (' Build Virtal Machine Image' )]
246- rebuild-iso $ target_image = (" localhost/" + image_name) $ tag = default_tag: && (_rebuild-bib target_image tag " iso" " disk_config/iso.toml" )
254+ rebuild-iso-nvidia $ target_image = (" localhost/" + image_name) $ tag = ( default_tag + " -nvidia" ) : && (_rebuild-bib target_image tag " anaconda- iso" " disk_config/iso-nvidia .toml" )
247255
248256# Run a virtual machine with the specified image type and configuration
249257_ run-vm $ target_image $ tag $ type $ config :
@@ -252,7 +260,7 @@ _run-vm $target_image $tag $type $config:
252260
253261 # Determine the image file based on the type
254262 image_file=" output/${type}/disk.${type}"
255- if [[ $type == iso ]]; then
263+ if [[ $type == iso || $type == anaconda-iso ]]; then
256264 image_file=" output/bootiso/install.iso"
257265 fi
258266
@@ -297,7 +305,7 @@ run-vm-raw $target_image=("localhost/" + image_name) $tag=default_tag: && (_run-
297305
298306# Run a virtual machine from an ISO
299307[group (' Run Virtal Machine' )]
300- run-vm-iso $ target_image = (" localhost/" + image_name) $ tag = default_tag: && (_run-vm target_image tag " iso" " disk_config/iso.toml" )
308+ run-vm-iso $ target_image = (" localhost/" + image_name) $ tag = default_tag: && (_run-vm target_image tag " anaconda- iso" " disk_config/iso-gnome .toml" )
301309
302310# Run a virtual machine using systemd-vmspawn
303311[group (' Run Virtal Machine' )]
0 commit comments