Skip to content

Commit

Permalink
Modify default root path to "rootfs"
Browse files Browse the repository at this point in the history
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
  • Loading branch information
mrunalp committed Nov 13, 2015
1 parent 1e77ccf commit c69f4f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

var generateFlags = []cli.Flag{
cli.StringFlag{Name: "rootfs", Usage: "path to the rootfs"},
cli.StringFlag{Name: "rootfs", Value: "rootfs", Usage: "path to the rootfs"},
cli.BoolFlag{Name: "read-only", Usage: "make the container's rootfs read-only"},
cli.BoolFlag{Name: "privileged", Usage: "enabled privileged container settings"},
cli.StringFlag{Name: "hostname", Value: "acme", Usage: "hostname value for the container"},
Expand Down
2 changes: 1 addition & 1 deletion test_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ cp runtimetest ${TESTDIR}


pushd $TESTDIR > /dev/null
ocitools generate --args /runtimetest
ocitools generate --args /runtimetest --rootfs ""
popd > /dev/null

TESTCMD="${RUNTIME} start"
Expand Down

0 comments on commit c69f4f1

Please sign in to comment.