f-28: api: add uefi params
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
c602725de9
commit
325f1acff5
5 changed files with 15 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ func vmFromDB(name string, entries map[string]string) (VM, error) {
|
|||
vm.MetadataPort = entries[prefix+"metadata_port"]
|
||||
vm.Memory, _ = strconv.Atoi(entries[prefix+"memory"])
|
||||
vm.CPUs, _ = strconv.Atoi(entries[prefix+"cpus"])
|
||||
vm.UEFI = entries[prefix+"uefi"] == "true"
|
||||
|
||||
subnet := entries[prefix+"subnet"]
|
||||
ip := entries[prefix+"ip"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue