Skip to content

Commit a39ae4b

Browse files
committed
Virt, DPDK checkup: fix image build instruction
When running the `composer-cli compose image`, the image that is generated is in the following template: <UUID>-disk.qcow2 Currently the template is incomplete. Signed-off-by: Bell Levin <[email protected]>
1 parent b143a20 commit a39ae4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/virt-building-vm-containerdisk-image.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ EOF
131131
+
132132
[source,terminal]
133133
----
134-
$ virt-customize -a <UUID>.qcow2 --run=customize-vm --selinux-relabel
134+
$ virt-customize -a <UUID>-disk.qcow2 --run=customize-vm --selinux-relabel
135135
----
136136

137137
. To create a Dockerfile that contains all the commands to build the container disk image, enter the following command:
@@ -140,13 +140,13 @@ $ virt-customize -a <UUID>.qcow2 --run=customize-vm --selinux-relabel
140140
----
141141
$ cat << EOF > Dockerfile
142142
FROM scratch
143-
COPY --chown=107:107 <uuid>-disk.qcow2 /disk/
143+
COPY --chown=107:107 <UUID>-disk.qcow2 /disk/
144144
EOF
145145
----
146146
+
147147
where:
148148

149-
<uuid>-disk.qcow2:: Specifies the name of the custom image in `qcow2` format.
149+
<UUID>-disk.qcow2:: Specifies the name of the custom image in `qcow2` format.
150150

151151
. Build and tag the container by running the following command:
152152
+

0 commit comments

Comments
 (0)