4/4/2023 0 Comments Debian netinstall iso![]() ![]() I tell packer to load my preseed.cfg scripts as a cd-rom, so from an hypervisor perspective, a second cd-rom drive is mounted in the 3rd position.īUT, in this case, VM boot on ISO (cd-rom 1st position), it doesn't mount the second cd-rom drive that have the preseed.cfg file and i can't access it unless I go to the debian console then mount the 2nd drive. When Packer starts the VM creation, it loads debian ISO as a CD-ROM in 1st position, and an empty virtual disk in the second position. through file : seems the easiest and best option at the moment.through network : not an option at this moment due to some firewall restriction.through initrd : seems quite difficult to me and didn't find an easy tutorial/documentation.Now, i saw there's 3 differents ways to use preseed.cfg : Finally, I validate the syntax using debconf-set-selections -c preseed.cfg command => everything is fine. ![]() I started with the preseed.cfg file provided by Debian then adapt some stuff to fit my needs. I'm currently trying to automate Debian 11 template creation through Packer for Nutanix environment and need some advices about preseeding/automating Debian installation.įirst of all, after reading this bible I went into using preseed.cfg file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |