Skip to content

Commit c69f4f1

Browse files
committed
Modify default root path to "rootfs"
Signed-off-by: Mrunal Patel <[email protected]>
1 parent 1e77ccf commit c69f4f1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
var generateFlags = []cli.Flag{
19-
cli.StringFlag{Name: "rootfs", Usage: "path to the rootfs"},
19+
cli.StringFlag{Name: "rootfs", Value: "rootfs", Usage: "path to the rootfs"},
2020
cli.BoolFlag{Name: "read-only", Usage: "make the container's rootfs read-only"},
2121
cli.BoolFlag{Name: "privileged", Usage: "enabled privileged container settings"},
2222
cli.StringFlag{Name: "hostname", Value: "acme", Usage: "hostname value for the container"},

test_runtime.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ cp runtimetest ${TESTDIR}
6565

6666

6767
pushd $TESTDIR > /dev/null
68-
ocitools generate --args /runtimetest
68+
ocitools generate --args /runtimetest --rootfs ""
6969
popd > /dev/null
7070

7171
TESTCMD="${RUNTIME} start"

0 commit comments

Comments
 (0)