From cb129a4d5cdfb3f535d53c0403875d5751319577 Mon Sep 17 00:00:00 2001 From: Ruth Fuchss Date: Tue, 27 Feb 2024 14:06:23 +0100 Subject: [PATCH] doc/instances: clarify how to override device options during creation Signed-off-by: Ruth Fuchss --- doc/howto/instances_backup.md | 2 ++ doc/howto/instances_create.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/howto/instances_backup.md b/doc/howto/instances_backup.md index 99734805e76b..bdee832d4253 100644 --- a/doc/howto/instances_backup.md +++ b/doc/howto/instances_backup.md @@ -284,6 +284,8 @@ To import an export file, use the following command: If you do not specify an instance name, the original name of the exported instance is used for the new instance. If an instance with that name already (or still) exists in the specified storage pool, the command returns an error. In that case, either delete the existing instance before importing the backup or specify a different instance name for the import. + +Add the `--storage` flag to specify which storage pool to use, or the `--device` flag to override the device configuration (syntax: `--device ,=`). ``` ```{group-tab} API To import an export file, post it to the `/1.0/instances` endpoint: diff --git a/doc/howto/instances_create.md b/doc/howto/instances_create.md index ba5cc0c5db9d..0dd090832ef7 100644 --- a/doc/howto/instances_create.md +++ b/doc/howto/instances_create.md @@ -27,7 +27,7 @@ See [`lxc launch --help`](lxc_launch.md) or [`lxc init --help`](lxc_init.md) for The most common flags are: - `--config` to specify a configuration option for the new instance -- `--device` to override {ref}`device options ` for a device provided through a profile, or to specify an {ref}`initial configuration for the root disk device ` +- `--device` to override {ref}`device options ` for a device provided through a profile, or to specify an {ref}`initial configuration for the root disk device ` (syntax: `--device ,=`) - `--profile` to specify a {ref}`profile ` to use for the new instance - `--network` or `--storage` to make the new instance use a specific network or storage pool - `--target` to create the instance on a specific cluster member