I’m trying to create a custom image and deploy it to a node.
However I’m having issues with downloading/extracting the images on the new node.
I’m creating a boot-resource with the following command:
maas $PROFILE boot-resources create name=custom/my_image architecture=amd64/generic content@=my_image_path
maas $PROFILE boot-resources create --help I can read it accepts the image as a .tgz file.
So I compress the image before creating a boot-resource out of it:
sudo tar -cvzf my_image.tgz /path/to/squashFS/image/
When I then deploy to the node, my_image.tgz is downloaded and I get the following error:
curtin: Installation failed with exception: Unexpected error while running command. cloud-init: Command: ['curtin', 'curthooks'] cloud-init: Exit code: 3 cloud-init: Reason: - cloud-init: Stdout: 'ID'
Can anyone tell me what that error means and possible how to address it?