Fix lotus-seed sector-dir arg
This commit is contained in:
parent
e4ab1133fc
commit
914b1e9a1c
@ -18,8 +18,8 @@ fi
|
|||||||
# if genesis is not already setup
|
# if genesis is not already setup
|
||||||
if [ ! -f /root/data/localnet.json ]; then
|
if [ ! -f /root/data/localnet.json ]; then
|
||||||
lotus-seed --sector-dir /root/data/.genesis-sectors pre-seal --sector-size 2KiB --num-sectors 2
|
lotus-seed --sector-dir /root/data/.genesis-sectors pre-seal --sector-size 2KiB --num-sectors 2
|
||||||
lotus-seed --sector-dir /root/data/ genesis new /root/data/localnet.json
|
lotus-seed --sector-dir /root/data/.genesis-sectors genesis new /root/data/localnet.json
|
||||||
lotus-seed --sector-dir /root/data/ genesis add-miner /root/data/localnet.json /root/data/.genesis-sectors/pre-seal-t01000.json
|
lotus-seed --sector-dir /root/data/.genesis-sectors genesis add-miner /root/data/localnet.json /root/data/.genesis-sectors/pre-seal-t01000.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# start daemon
|
# start daemon
|
||||||
|
Loading…
Reference in New Issue
Block a user