Skip to content

Commit

Permalink
Fixed profiling in a DC file and added oher virt-deployment config.ig…
Browse files Browse the repository at this point in the history
…n paths.
  • Loading branch information
lvicoun committed Jun 10, 2024
1 parent 5048edf commit 7418638
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DC-Micro-deployment-raw-images-virtual-machines
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
DOCBOOK5_RNG_URI="urn:x-suse:rng:v2:geekodoc-flat"
PROFOS="slmicro"
PROFARCH="x86-64"
PROFCONDITION="raw_image;deployment-bare-metal;x86-64"
PROFCONDITION="raw_image;deployment-virtual-machine;x86-64"
16 changes: 15 additions & 1 deletion concepts/configure-ignition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@
the &fuelignition; Web application at &fuelignition-dld-site;.
</para>
</tip>
<para condition="deployment-virtual-machine">
If you intend to configure a QEMU/KVM virtual machine, provide the path
to <filename>config.ign</filename> as an attribute of the
<command>qemu</command> command. For example:
</para>

<screen condition="deployment-virtual-machine">
-fw_cfg name=opt/com.coreos/config,file=<replaceable>PATH_TO_config.ign</replaceable>
</screen>

<para condition="deployment-virtual-machine">
When configuring a virtual machine with &vmm; (&libvirt;),
provide the path to the <filename>config.ign</filename> file in its XML
Expand All @@ -82,6 +92,10 @@
&lt;/sysinfo>
&lt;/domain>
</screen>
<para condition="deployment-virtual-machine">
Alternatively, when using &libvirt;, you can provide the path as an option to the <command>virt-install</command> command:
</para>
<screen condition="deployment-virtual-machine">--sysinfo type=fwcfg,entry0.name="opt/com.coreos/config",entry0.file="<replaceable>PATH_TO_config.ign</replaceable>>" </screen>
<para>
The <filename>config.ign</filename> contains multiple data types:
objects, strings, integers, booleans and lists of objects. For a
Expand All @@ -92,7 +106,7 @@
<para>
The <literal>version</literal> attribute is mandatory and in case of
&productnameshort;, its value must be set either to
<literal>3.3.0</literal> or to any lower version. Otherwise, &ignition;
<literal>3.4.0</literal> or to any lower version. Otherwise, &ignition;
will fail.
</para>
<para>
Expand Down
2 changes: 1 addition & 1 deletion references/ignition-configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<note>
<title>The <literal>version</literal> attribute is mandatory</title>
<para>
Each <filename>config.fcc</filename> must include version 1.4.0 or
Each <filename>config.ign</filename> must include version 3.4.0 or
lower that is then converted to the corresponding &ignition;
specification.
</para>
Expand Down

0 comments on commit 7418638

Please sign in to comment.