File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,11 @@ remove lines
4040https://github.com/spectrocloud/cluster-api-provider-maas/blob/818c818131b69fe35d5637a9e7c6510f82d39f13/image-generation/buildmaasimage.sh#L61-L82
4141
4242
43- ## Upload Custom Image to MAAS
43+ ## Upload Custom Image to MAAS using maas cli
44+
45+ You must have maas cli installed on your system
46+
47+ If you don't have maas cli installed refer [here](https://maas.io/docs/snap/3.0/ui/maas-cli)
4448
4549The images generated inside pod can be accessed from hostpath vol
4650` ` ` yaml
@@ -50,8 +54,20 @@ The images generated inside pod can be accessed from hostpath vol
5054` ` `
5155
5256cd /tmp/mypath or the directory you have configured
53- maas <profile-name> boot-resources create name=custom/<image-display-name> architecture=amd64/generic content=<image-filename>
5457
58+ next step assumes that you have maas-cli installed on currrent machine.
59+ If not first copy the image from current machine to somewhere you have maas cli installed and access to MAAS setup
60+ ` ` ` bash
61+ scp /tmp/mypath/<image-filename> <destination-machine>
62+
63+ # ssh to the machine
64+ ssh user@<destination-machine>
65+ ```
66+
67+ use <profile-name > profile which has access to create boot-resources or admin
68+ ``` bash
69+ maas < profile-name> boot-resources create name=custom/< image-display-name> architecture=amd64/generic content=< image-filename>
70+ ```
5571
5672## spectrocloud public images
5773| kubernetes Version | URL |
You can’t perform that action at this time.
0 commit comments