diff --git a/modules/virt-building-vm-containerdisk-image.adoc b/modules/virt-building-vm-containerdisk-image.adoc index 103c017334..3137b6fd20 100644 --- a/modules/virt-building-vm-containerdisk-image.adoc +++ b/modules/virt-building-vm-containerdisk-image.adoc @@ -131,7 +131,7 @@ EOF + [source,terminal] ---- -$ virt-customize -a .qcow2 --run=customize-vm --selinux-relabel +$ virt-customize -a -disk.qcow2 --run=customize-vm --selinux-relabel ---- . 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 .qcow2 --run=customize-vm --selinux-relabel ---- $ cat << EOF > Dockerfile FROM scratch -COPY --chown=107:107 -disk.qcow2 /disk/ +COPY --chown=107:107 -disk.qcow2 /disk/ EOF ---- + where: --disk.qcow2:: Specifies the name of the custom image in `qcow2` format. +-disk.qcow2:: Specifies the name of the custom image in `qcow2` format. . Build and tag the container by running the following command: +