Manage a boot source.
Usage
maas $PROFILE boot-source [-h] COMMAND ...
Remember to replace $PROFILE
with your profile name.
Command-line options
Option | Action |
---|---|
h, --help | show this help message and exit |
COMMANDS
COMMAND | ACTION |
---|---|
delete | Delete a boot source |
read | Read a boot source |
update | Update a boot source |
Delete a boot source
Delete a boot source with the given id.
Usage
maas $PROFILE boot-source delete [--help] [-d] [-k] id [data ...]
Remember to replace $PROFILE
with your profile name.
Positional arguments
- id
Command-line options
Option | Action |
---|---|
-help, -h | Show this help message and exit. |
d, --debug | Display more information about API responses. |
k, --insecure | Disable SSL certificate check |
Read a boot source
Read a boot source with the given id.
Usage
maas $PROFILE boot-source read [--help] [-d] [-k] id [data ...]
Remember to replace $PROFILE
with your profile name.
Positional arguments
- id
Command-line options
Option | Action |
---|---|
-help, -h | Show this help message and exit. |
d, --debug | Display more information about API responses. |
k, --insecure | Disable SSL certificate check |
Update a boot source
Update a boot source with the given id.
Usage
maas $PROFILE boot-source update [--help] [-d] [-k] id [data ...]
Remember to replace $PROFILE
with your profile name.
Positional arguments
- id
This method accepts keyword arguments. Pass each argument as a key-value pair with an equals sign between the key and the value: key1=value1 key2=value key3=value3. Keyword arguments must come after any positional arguments.
Data parameter “url”
Optional. The URL of the BootSource. Type: String.
Data parameter “keyring_filename”
Optional. The path to the keyring file for this BootSource. Type: String.
Data parameter “keyring_data”
Optional. The GPG keyring for this BootSource, base64-encoded data. Type: String.
Command-line options
Option | Action |
---|---|
-help, -h | Show this help message and exit. |
d, --debug | Display more information about API responses. |
k, --insecure | Disable SSL certificate check |
Manage the collection of boot sources.
Usage
maas $PROFILE boot-sources [-h] COMMAND ...
Remember to replace $PROFILE
with your profile name.
Command-line options
Option | Action |
---|---|
h, --help | show this help message and exit |
COMMANDS
COMMAND | ACTION |
---|---|
create | Create a boot source |
read | List boot sources |
Create a boot source
Create a new boot source. Note that in addition to url
, you must supply either keyring_data
or keyring_filename
.
Usage
maas $PROFILE boot-sources create [--help] [-d] [-k] [data ...]
Remember to replace $PROFILE
with your profile name.
This method accepts keyword arguments. Pass each argument as a key-value pair with an equals sign between the key and the value: key1=value1 key2=value key3=value3. Keyword arguments must come after any positional arguments.
Data parameter “url”
Required. The URL of the BootSource. Type: String.
Data parameter “keyring_filename”
Optional. The path to the keyring file for this BootSource. Type: String.
Data parameter “keyring_data”
Optional. The GPG keyring for this BootSource, base64-encoded. Type: String.
Command-line options
Option | Action |
---|---|
-help, -h | Show this help message and exit. |
d, --debug | Display more information about API responses. |
k, --insecure | Disable SSL certificate check |
List boot sources
List all boot sources.
Usage
maas $PROFILE boot-sources read [--help] [-d] [-k] [data ...]
Remember to replace $PROFILE
with your profile name.
Command-line options
Option | Action |
---|---|
-help, -h | Show this help message and exit. |
d, --debug | Display more information about API responses. |
k, --insecure | Disable SSL certificate check |
Last updated 3 days ago.