Skip to content

Commit cc99450

Browse files
authored
Revise OS_VERSION and add MAAS upload instructions
Updated OS_VERSION example and added command line upload instructions for MAAS.
1 parent e764192 commit cc99450

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ MAAS (Metal as a Service) is Canonical's bare-metal provisioning tool. CanvOS ca
436436
437437
```shell
438438
OS_DISTRIBUTION=ubuntu
439-
OS_VERSION=22 # or 20, 24, etc.
439+
OS_VERSION=22 # or 24
440440
ARCH=amd64
441441
```
442442
@@ -487,6 +487,17 @@ The output includes:
487487
- Select the `.raw.gz` file
488488
- Specify format as `dd.gz`
489489
- MAAS will automatically decompress the image during upload
490+
Or
491+
Use maas command to upload the custom image to MAAS
492+
Example:
493+
maas login admin http://<MAAS_URL>:5240/MAAS <API_KEY>
494+
maas admin boot-resources create \
495+
name='custom/my-raw-image' \
496+
title='My Custom RAW Image' \
497+
architecture='amd64/generic' \
498+
filetype='ddgz' \
499+
content@=/path/to/image.raw.gz
500+
490501
491502
2. The image is now ready to be deployed to bare-metal servers via MAAS.
492503

0 commit comments

Comments
 (0)