Skip to content

Commit

Permalink
formatting: use spaces as indention for consistency in the docs/examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Okeanos authored and bgilbert committed Apr 5, 2023
1 parent 38718db commit f101604
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/ROOT/pages/provisioning-qemu.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ IGNITION_DEVICE_ARG="-fw_cfg name=opt/com.coreos/config,file=${IGNITION_CONFIG}"
IGNITION_DEVICE_ARG="-drive file=${IGNITION_CONFIG},if=none,format=raw,readonly=on,id=ignition -device virtio-blk,serial=ignition,drive=ignition"
qemu-kvm -m 2048 -cpu host -nographic -snapshot \
-drive if=virtio,file=${IMAGE} ${IGNITION_DEVICE_ARG}
-nic user,model=virtio,hostfwd=tcp::2222-:22
-drive if=virtio,file=${IMAGE} ${IGNITION_DEVICE_ARG}
-nic user,model=virtio,hostfwd=tcp::2222-:22
----

.Launching FCOS with QEMU (persistent storage)
[source, bash]
----
qemu-img create -f qcow2 -F qcow2 -b ${IMAGE} my-fcos-vm.qcow2
qemu-kvm -m 2048 -cpu host -nographic \
-drive if=virtio,file=my-fcos-vm.qcow2 ${IGNITION_DEVICE_ARG}
-nic user,model=virtio,hostfwd=tcp::2222-:22
-drive if=virtio,file=my-fcos-vm.qcow2 ${IGNITION_DEVICE_ARG}
-nic user,model=virtio,hostfwd=tcp::2222-:22
----

=== Exploring the OS
Expand Down

0 comments on commit f101604

Please sign in to comment.