cloudymax / pxeless

An automated system install and image customization tool for when PXE is not an option, or is not an option yet.
MIT License
114 stars 16 forks source link

[Question] Offline package installation #30

Closed meraj-kashi closed 1 year ago

meraj-kashi commented 1 year ago

Hi! This is a question and not an issue!

Is there any way to install debian packages before creating the ISO? Ubuntu cloud-init needs access to the Internet to install packages, so I am looking for a solution to inject packages during image creation.

Downloading debian packages and injecting through extras file could be a solution, but managing package dependecies is not easy!

The another possible solution could be chroot, but in which step of the script I should do?

Br, Meraj

cloudymax commented 1 year ago

PXEless doesn't support this at the moment, but if that feature were to be included the location would be here

I would recommend following this guide as it was the source material i followed while writing the squashfs part of the script.

I hope that helps! 👋

meraj-kashi commented 1 year ago

Thank you for your clarification.

The issue resolved. For those who are interested to install packages during image creation: