diff --git a/source/user-guide/custom-ci/custom-ci-for-rootfs.rst b/source/user-guide/custom-ci/custom-ci-for-rootfs.rst index a66ed336..4820016a 100644 --- a/source/user-guide/custom-ci/custom-ci-for-rootfs.rst +++ b/source/user-guide/custom-ci/custom-ci-for-rootfs.rst @@ -66,7 +66,7 @@ Add OSTree Target Once the ostree repo carrying rootfs is pushed to the cloud, you can add a new Target referencing it. The rootfs committed to the ostree repo is referenced by the commit hash. -To obtain, run ``find ./deploy/images/intel-corei7-64/ostree_repo -name *.commit`` +To obtain, run ``cat ./deploy/images/intel-corei7-64/ostree_repo/refs/heads/`` or ``ostree --repo ./deploy/images/intel-corei7-64/ostree_repo rev-parse ``. Run ``fioctl targets add`` ato add the new Target referencing the given ostree-based rootfs, e.g.,