Skip to content

Commit 5475766

Browse files
author
dwc0011
committed
Remove passing the mount path to the script via the ShellCommand, user should pass it via {{ .MountPath }} referenced in the manual-mount-command configuration to use it
1 parent 3b5bef6 commit 5475766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builder/chroot/step_manual_mount_command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (s *StepManualMountCommand) Run(ctx context.Context, state multistep.StateB
6969
wrappedCommand := state.Get("wrappedCommand").(common.CommandWrapper)
7070

7171
ui.Say("Running manual mount commands...")
72-
mountCommand, err := wrappedCommand(fmt.Sprintf("%s %s", s.Command, mountPath))
72+
mountCommand, err := wrappedCommand(fmt.Sprintf("%s", s.Command))
7373
if err != nil {
7474
err := fmt.Errorf("Error creating mount command: %s", err)
7575
state.Put("error", err)

0 commit comments

Comments
 (0)