boot-resource¶
delete¶
Delete a boot resource by id.
maas $PROFILE boot-resource delete [--help] [-d] [-k] id
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID of the resource (e.g., |
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
read¶
Reads a boot resource by id
maas $PROFILE boot-resource read [--help] [-d] [-k] id
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID of the resource (e.g., |
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
boot-resources create¶
Creates a new boot resource. The file upload must be done in chunk, see Boot resource file upload.
maas $PROFILE boot-resources create [--help] [-d] [-k] [data ...]
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
Keywords¶
Keyword “name”¶
Optional String. Name of the boot resource.
Keyword “architecture”¶
Optional String. Architecture the boot resource supports.
Keyword “sha256”¶
Optional String. The sha256 hash of the resource.
Keyword “size”¶
Optional String. The size of the resource in bytes.
Keyword “title”¶
Optional String. Title for the boot resource.
Keyword “filetype”¶
Optional String. Filetype for uploaded content. (Default: tgz. Supported: tgz, tbz, txz, ddtgz, ddtbz, ddtxz, ddtar, ddbz2, ddgz, ddxz, ddraw)
Keyword “base_image”¶
Optional String. The Base OS image a custom image is built on top of. Only required for custom image.
Note: This command accepts JSON.
boot-resources import¶
Import the boot resources.
maas $PROFILE boot-resources import [--help] [-d] [-k]
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
boot-resources is-importing¶
Get the status of importing resources.
maas $PROFILE boot-resources is-importing [--help] [-d] [-k]
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
boot-resources read¶
List all boot resources
maas $PROFILE boot-resources read [--help] [-d] [-k] [data ...]
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
Keywords¶
Keyword “type”¶
Optional String. Type of boot resources to list. If not provided, returns all types.
Note: This command accepts JSON.
boot-resources stop-import¶
Stop import the boot resources.
maas $PROFILE boot-resources stop-import [--help] [-d] [-k]
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |