fix ip_forward configuration.
add some functions.
use rootfs_path parameter.
readonly for rootfs_path.