Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmds/cpu/cpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var (
namespace = flag.String("namespace", "/lib:/lib64:/usr:/bin:/etc:/home", "Default namespace for the remote process -- set to none for none")
network = flag.String("net", "", "network type to use. Defaults to whatever the cpu client defaults to")
port = flag.String("sp", "", "cpu default port")
root = flag.String("root", "/", "9p root")
root = flag.String("root", "/", "9p/nfs root")
timeout9P = flag.String("timeout9p", "100ms", "time to wait for the 9p mount to happen.")
ninep = flag.Bool("9p", true, "Enable the 9p mount in the client")

Expand Down Expand Up @@ -205,7 +205,7 @@ func newCPU(host string, args ...string) (retErr error) {
}
break
}
f, nfsmount, err := client.SrvNFS(c, *cpioRoot, "/")
f, nfsmount, err := client.SrvNFS(c, *cpioRoot, *root)
if err != nil {
return err
}
Expand Down
Loading