You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not 100% sure if it's a packer issue or a lack of knowledge of my part, if it is my apologies.
Overview of the Issue
Using cd_files to create an iso containing a preseed file to auto install debian whiteout needing http server.
Packer properly create the iso and the second cd drive needed but when debian installer launch the preseed iso is on /dev/sr1 and it is not accessible because it's not mounted.
/cdrom is used by debian installer
Afaik you cannot mount anything else during automated setup until you get to the preseed part.
Reproduction Steps
Create a packer template with cd_files for debian
Installer will run until it can't found the preseed file because it does not auto mount /dev/sr1
I tried on vmware workstation and vmware vSphere from manjaro and ubuntu using the same version of packer
Got the exact same problem on both
Log Fragments and crash.log files
vmware-iso.Debian-11-Template: output will be in this color.
==> vmware-iso.Debian-11-Template: Trying https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.1.0-amd64-netinst.iso
==> vmware-iso.Debian-11-Template: Trying https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.1.0-amd64-netinst.iso?checksum=sha256%3A8488abc1361590ee7a3c9b00ec059b29dfb1da40f8ba4adf293c7a30fa943eb2
2022/01/25 20:19:26 packer-builder-vmware-iso plugin: Leaving retrieve loop for ISO
2022/01/25 20:19:26 packer-builder-vmware-iso plugin: No floppy files specified. Floppy disk will not be made.
2022/01/25 20:19:26 packer-builder-vmware-iso plugin: CD label is set to cidata
2022/01/25 20:19:26 packer-builder-vmware-iso plugin: CD path: /tmp/packer2545184248.iso
==> vmware-iso.Debian-11-Template: https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.1.0-amd64-netinst.iso?checksum=sha256%3A8488abc1361590ee7a3c9b00ec059b29dfb1da40f8ba4adf293c7a30fa943eb2 => /home/zeiko/.cache/packer/bed3360a8849258231657d615579999ba9f47fc6.iso
2022/01/25 20:19:26 packer-builder-vmware-iso plugin: Wrote 7430 bytes to preseed.cfg
2022/01/25 20:19:26 packer-builder-vmware-iso plugin: Executing: /usr/bin/mkisofs [-joliet -volid cidata -o /tmp/packer2545184248.iso /tmp/packer_to_cdrom898500605]
==> vmware-iso.Debian-11-Template: Configuring output and export directories...
==> vmware-iso.Debian-11-Template: Creating CD disk...
vmware-iso.Debian-11-Template: Warning: creating filesystem with (nonstandard) Joliet extensions
vmware-iso.Debian-11-Template: but without (standard) Rock Ridge extensions.
vmware-iso.Debian-11-Template: It is highly recommended to add Rock Ridge
vmware-iso.Debian-11-Template: Setting input-charset to 'UTF-8' from locale.
vmware-iso.Debian-11-Template: Total translation table size: 0
vmware-iso.Debian-11-Template: Total rockridge attributes bytes: 0
vmware-iso.Debian-11-Template: Total directory bytes: 0
vmware-iso.Debian-11-Template: Path table size(bytes): 10
vmware-iso.Debian-11-Template: Max brk space used 0
vmware-iso.Debian-11-Template: 184 extents written (0 MB)
vmware-iso.Debian-11-Template: Done copying paths from CD_dirs
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Hi,
Not 100% sure if it's a packer issue or a lack of knowledge of my part, if it is my apologies.
Overview of the Issue
Using cd_files to create an iso containing a preseed file to auto install debian whiteout needing http server.
Packer properly create the iso and the second cd drive needed but when debian installer launch the preseed iso is on /dev/sr1 and it is not accessible because it's not mounted.
/cdrom is used by debian installer
Afaik you cannot mount anything else during automated setup until you get to the preseed part.
Reproduction Steps
Create a packer template with cd_files for debian
Installer will run until it can't found the preseed file because it does not auto mount /dev/sr1
Packer version
1.7.8
Simplified Packer Template
Operating system and Environment details
I tried on vmware workstation and vmware vSphere from manjaro and ubuntu using the same version of packer
Got the exact same problem on both
Log Fragments and crash.log files
The text was updated successfully, but these errors were encountered: