Skip to content

Commit

Permalink
platform/qemu: fix usage of removed Mount9p
Browse files Browse the repository at this point in the history
PR #3593 was written and opened before #3428 but merged after it. CI had
passed but was not rerun, so this went in. This would be fixed by using
a merge bot on this repo that reruns CI before merge (See also
https://bors.tech/essay/2017/02/02/pitch/.)

Fixes: d812406 ("kola: Add `--qemu-bind-ro`")
  • Loading branch information
jlebon authored and dustymabe committed Sep 13, 2023
1 parent d812406 commit 45e72e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mantle/platform/machine/qemu/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (qc *Cluster) NewMachineWithQemuOptions(userdata *conf.UserData, options pl
// reliably change the Ignition config here...
for _, path := range qc.flight.opts.BindRO {
destpathrel := strings.TrimLeft(path, "/")
builder.Mount9p(path, "/kola/host/"+destpathrel, true)
builder.MountHost(path, "/kola/host/"+destpathrel, true)
}

if qc.flight.opts.Memory != "" {
Expand Down

0 comments on commit 45e72e0

Please sign in to comment.