Skip to content

Commit

Permalink
Add stdin flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Aceralon committed Jan 12, 2022
1 parent 01a3845 commit e5a3e89
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions engine/virt/virt.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ func (v *Virt) VirtualizationCreate(ctx context.Context, opts *enginetypes.Virtu
DmiUUID: opts.Labels[DmiUUIDKey],
Cmd: opts.Cmd,
Lambda: opts.Lambda,
Stdin: opts.Stdin,
}

var resp virttypes.Guest
Expand Down
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ require (
google.golang.org/grpc v1.40.0
google.golang.org/protobuf v1.27.1
)

replace (
github.com/projecteru2/libyavirt => github.com/aceralon/libyavirt v0.0.0-20220111090727-b61ed6b4cf3a
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ github.com/Microsoft/hcsshim v0.8.11 h1:qs8+XI1mFA1H/zhXT9qVG/lcJO18p1yCsICIrCjV
github.com/Microsoft/hcsshim v0.8.11/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/Shopify/goreferrer v0.0.0-20181106222321-ec9c9a553398/go.mod h1:a1uqRtAwp2Xwc6WNPJEufxJ7fx3npB4UV/JOLmbu5I0=
github.com/aceralon/libyavirt v0.0.0-20220111090727-b61ed6b4cf3a h1:hV/z9WoGXPil+N5ed++b2wrwMcyLahxy83ioe5HdNfY=
github.com/aceralon/libyavirt v0.0.0-20220111090727-b61ed6b4cf3a/go.mod h1:FOc+hWBMLsMrmx5p3/moizKeSomedZPNwB6LhS+kEnE=
github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
Expand Down

0 comments on commit e5a3e89

Please sign in to comment.