OndrejHome / fast-vm

'fast-vm' is a script for defining VMs from images provided in thin LVM pool.
GNU General Public License v3.0
22 stars 14 forks source link

UEFI image support #16

Closed OndrejHome closed 7 years ago

OndrejHome commented 7 years ago

Use of UEFI in libvirt requires some additional storage for EUFI and this should be ideally handled by fast-vm. How the fast-vm should detect that image need uefi? (XML definition file?, extra flag?, ...)

OndrejHome commented 7 years ago

commit f949244e742f1674cf9cfebb7e4c5ceb67c56abf should add UEFI nvram support, still README misses additional information about UEFI

OndrejHome commented 7 years ago

Some UEFI installations (CentOS/RHEL 6.X) expects that nvram will hold required data. fast-vm is not distributing the nvram content as part of images nor hack files (yet). The question is how to ensure support for such systems that doesn't contain any binary at place where UEFI looks for it. (as possibilities I can see either distribution with hack files or scripting the add of record to nvram through hack file)

OndrejHome commented 7 years ago

added macro for propagating the IMAGE_NAME to libvirt XML of machines so they can implement per-image templates in 551ec36959a724a8289d566b7051e6d8b1e22935 So the special nvram cases will be handled by hack files for now.