The current VirtualBox ISO Builder docs mention a floppy_content setting that can be used to add content to a floppy disk. This setting is currently not implemented in the plugin. I believe it applies to all builders, not just the ISO.
Reproduction Steps
Use a VirtualBox builder and set the floppy_content setting:
floppy_content = {
"user-data" ="foo"
}
Observe the following after running PACKER_LOG=1 packer build:
packer-builder-virtualbox-iso plugin: No floppy disk, not attaching.
Plugin and Packer version
Packer version: 1.8.0
VirtualBox plugin version: Whatever is being included in Packer 1.8.0
Overview of the Issue
The current VirtualBox ISO Builder docs mention a floppy_content setting that can be used to add content to a floppy disk. This setting is currently not implemented in the plugin. I believe it applies to all builders, not just the ISO.
Reproduction Steps
Use a VirtualBox builder and set the
floppy_content
setting:Observe the following after running
PACKER_LOG=1 packer build
:Plugin and Packer version
Packer version:
1.8.0
VirtualBox plugin version: Whatever is being included in Packer 1.8.0Simplified Packer Buildfile
Operating system and Environment details
Notes
I did some investigating and while the
FloppyContent
config is defined in packer-plugin-sdk/multistep/commonsteps/floppy_config.go:It doesn't appear to be used when creating the floppy:
https://github.com/hashicorp/packer-plugin-virtualbox/blob/c0a89d22d6ffef3f80d7c1cead558609845ccc5e/builder/virtualbox/iso/builder.go#L399-L403