Re: Question for smbios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You do not need to pass parameters through smbios.

When you define the image using XML create a cdrom image.

The cdrom image must contain  meta_data.json  and network_data.json files.

The following is the ansible snippet I use to create the CD image.

genisoimage -output {{ cloud_init_iso_dir }}/{{ instance_id }}.iso -volid config-2 -joliet -r {{ cloud_init_src_dir }}/

This is what I use to create VM images (I am using Centos not Debian so some stuff is different but the basics are the same)

On 8/10/20 1:49 AM, David wrote:
I am reposting this because it's been 2 or 3 weeks.

Hello,

Hopefully this is the right place to send a question like this...

I'm attempting to automate creation of VMs using virt-install and a
cloud-init disk image. To get this to work, I need to specify the location
of the cloud-init configs by passing smbios key/value pairs.

Normally, -smbios is provided to qemu to do this. With virt-install, the
Internet says I should use --sysinfo. However, --sysinfo (as well as
--qemu-comandline) is reported as an invalid command flag, and it is not
present when I look at man virt-install and virt-install --help.

I am hoping someone on the list knows why this isn't working or can explain
how I might provide the arguments to qemu. The host is Debian 9. It is
up-to-date as far as package versions are concerned, as much as Debian 9
can be. I can't find any indication about why the arguments would have been
taken away.


Thanks!

--
Alvin Starr                   ||   land:  (647)478-6285
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin@xxxxxxxxxx              ||





[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux