Skip to content

Commit

Permalink
doc: fix empty vm example
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Jun 5, 2024
1 parent c57364c commit cf32f4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -911,13 +911,13 @@ As always, both cmds and scripts can be specified, in which case cmds are run fi

### Empty vms

So far, our examples have used a cloud image by mean of the `-i/--image` flag but it's not mandatory. For instance, we can create an empty vm with a complete spec
So far, our examples have used a cloud image via the `-i/--image` flag but it's not mandatory. For instance, we can create an empty vm with a complete spec

```Shell
kcli local create vm -P uefi=true -P start=false -P memory=20480 -P numcpus=16 -P disks=[50,50] -P nets=[default] vm2
kcli create vm -P uefi=true -P start=false -P memory=20480 -P numcpus=16 -P disks=[50,50] -P nets=[default] myvm
```

Note that when not using a cloud image, cloudinit/ignition wont be used so parameters such as cmds,scripts and files are pointless.
Note that when not using a cloud image, cloudinit/ignition wont be used.

## Profiles configuration

Expand Down
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -952,13 +952,13 @@ As always, both cmds and scripts can be specified, in which case cmds are run fi
Empty vms
~~~~~~~~~

So far, our examples have used a cloud image by mean of the ``-i/--image`` flag but it’s not mandatory. For instance, we can create an empty vm with a complete spec
So far, our examples have used a cloud image via the ``-i/--image`` flag but it’s not mandatory. For instance, we can create an empty vm with a complete spec

.. code:: shell
kcli local create vm -P uefi=true -P start=false -P memory=20480 -P numcpus=16 -P disks=[50,50] -P nets=[default] vm2
kcli create vm -P uefi=true -P start=false -P memory=20480 -P numcpus=16 -P disks=[50,50] -P nets=[default] myvm
Note that when not using a cloud image, cloudinit/ignition wont be used so parameters such as cmds,scripts and files are pointless.
Note that when not using a cloud image, cloudinit/ignition wont be used.

Profiles configuration
----------------------
Expand Down

0 comments on commit cf32f4f

Please sign in to comment.