-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with curtin-hooks not being used in custom MAAS image #246
Comments
Ok I found the issue, here is how I got through |
@alexsander-souza I get this error now while deploying using maas while executing /curtin/setup-bootloaded [https://github.com/canonical/packer-maas/blob/main/ubuntu/scripts/setup-bootloader], any hint ?
|
It appears that system does not have an EFI partition, which is required for UEFI booting. Instead, it seems to have a BIOS/MBR setup. |
this is strange, the output of
is it empty? |
we also fixed an issue in the |
j1-atos-5.redlab.datadirectnet.com-.zip @alexsander-souza I attached Machine output (YAML), curtin logs and Installation output for your reference, I use iso image + lvm to create a maas image and I use latest packer maas code any hints will be helpful sda1 is the efi parition, but it not mounted or mounted as a different path as I get below error
|
Below helped but upon auto reboot after installation it didn't come up with network!!
|
@alexsander-souza another issue with lvm image, ubuntu--vg-ubuntu--lv not expanding to full disk size
I was able to manually fix it by doing the following but can we handle this during the deployment ?
|
Using 'make custom-ubuntu-lvm.dd.gz' to build template but getting ssh timed out: 2024/09/04 09:58:46 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/09/04 09:58:46 [DEBUG] SSH handshake err: Timeout during SSH handshake |
I am using ubuntu-lvm.pkr.hcl to create a custom image for MAAS. I have added the following configuration to ubuntu-lvm.pkr.hcl:
I have also added a verification step to ensure that the files are being placed under the /curtin directory with the appropriate permissions. However, during deployment, the curtin/curtin-hooks are not being used, and I am not getting the kernel I wanted.
scripts/curtin.sh
Log Output:
Despite the verification showing that the files are present in /curtin with the correct permissions, the curtin-hooks are not being utilized during deployment. Any assistance on this issue would be appreciated.
Additionally, here are some commands and their outputs to provide more context that files are present in the /curtin directory:
The text was updated successfully, but these errors were encountered: