Skip to content

Commit e7c26ab

Browse files
jelmansourilbajolet-hashicorp
authored andcommitted
Fix floppy content support as it currently silently fails
1 parent 6d4a15f commit e7c26ab

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

builder/hyperv/iso/builder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ func (b *Builder) Run(ctx context.Context, ui packersdk.Ui, hook packersdk.Hook)
220220
&commonsteps.StepCreateFloppy{
221221
Files: b.config.FloppyConfig.FloppyFiles,
222222
Directories: b.config.FloppyConfig.FloppyDirectories,
223+
Content: b.config.FloppyConfig.FloppyContent,
223224
Label: b.config.FloppyConfig.FloppyLabel,
224225
},
225226
commonsteps.HTTPServerFromHTTPConfig(&b.config.HTTPConfig),

builder/hyperv/vmcx/builder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ func (b *Builder) Run(ctx context.Context, ui packersdk.Ui, hook packersdk.Hook)
261261
&commonsteps.StepCreateFloppy{
262262
Files: b.config.FloppyFiles,
263263
Directories: b.config.FloppyConfig.FloppyDirectories,
264+
Content: b.config.FloppyConfig.FloppyContent,
264265
Label: b.config.FloppyConfig.FloppyLabel,
265266
},
266267
commonsteps.HTTPServerFromHTTPConfig(&b.config.HTTPConfig),

0 commit comments

Comments
 (0)