Skip to content

Commit 70116ee

Browse files
authored
Merge pull request #55 from cgwalters/run-stdin
disk: Also pass stdin to install container
2 parents 2b36f6d + fedcf86 commit 70116ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/bootc/bootc_disk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ func (p *BootcDisk) runInstallContainer(quiet bool, config DiskImageConfig) (err
342342
var exitCode int32
343343
if !quiet {
344344
attachOpts := new(containers.AttachOptions).WithStream(true)
345-
if err := containers.Attach(attachCancelCtx, p.bootcInstallContainerId, nil, os.Stdout, os.Stderr, nil, attachOpts); err != nil {
345+
if err := containers.Attach(attachCancelCtx, p.bootcInstallContainerId, os.Stdin, os.Stdout, os.Stderr, nil, attachOpts); err != nil {
346346
return fmt.Errorf("attaching: %w", err)
347347
}
348348
}

0 commit comments

Comments
 (0)