canonical / packer-maas

Packer templates to create MAAS deployable images
Other
258 stars 158 forks source link

How to create custom partitions of the root disk for ubuntu #199

Closed devahariharan closed 4 months ago

devahariharan commented 5 months ago

Hi, I'm new to packer and trying to create a custom ubuntu image. I'm able to successfully build the image, but need assistance with how to create this root partitions as per the requirement.

gsperry2011 commented 4 months ago

I'm not sure I understand your requirements but this sounds like something you would configure on the node within maas and not do within your custom image.

alexsander-souza commented 4 months ago

Hi @devahariharan, the partitioning of the disk is a task done by MAAS during the deployment. (unless you are building a dd-raw image, which should be used only in some very special scenarios)

alexsander-souza commented 4 months ago

please go to https://discourse.maas.io/ for general discussion about packer-maas and maas.