Skip to content

Update builder documentation to include the missing (boot) firmware parameter #69

@justinkarabegovic

Description

@justinkarabegovic

Please add the option to select between bios and uefi boot firmware for the VM.

This could initially be added as an option to platform_args. This could then be migrated to a standalone argument later.

Perhaps could be implemented in:

File: https://github.com/ddelnano/packer-plugin-xenserver/blob/master/builder/xenserver/iso/builder.go

Line 84:

	if len(self.config.PlatformArgs) == 0 {
		pargs := make(map[string]string)
		pargs["viridian"] = "false"
		pargs["nx"] = "true"
		pargs["pae"] = "true"
		pargs["apic"] = "true"
		pargs["timeoffset"] = "0"
		pargs["acpi"] = "1"
		self.config.PlatformArgs = pargs
	}

add an additional option such as:

		pargs["hvm_boot_firmware"] = "bios"

Which would match parameter in https://github.com/terra-farm/terraform-provider-xenorchestra/blob/master/xoa/resource_xenorchestra_vm.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions