Skip to content

Commit 7bbb361

Browse files
committed
Re-enabling git clone to fetch config files
1 parent 6b99828 commit 7bbb361

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

lib/sui/lib/assets/user-data/node.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ set +e
1414
echo "DATA_VOLUME_SIZE=${_DATA_VOLUME_SIZE_}"
1515
echo "NETWORK_ID=${_NETWORK_ID_}"
1616

17+
echo "HOME=/home/ubuntu"
1718
} >> /etc/environment
1819

1920
source /etc/environment
@@ -63,14 +64,13 @@ echo "[LOG] install rust"
6364
sudo curl https://sh.rustup.rs -sSf | sh -s -- -y
6465
source $HOME/.cargo/env
6566

66-
# 4. Download Sui Binaries
67-
# echo "[LOG] sui binaries"
68-
# cd $HOME
69-
# git clone https://github.com/MystenLabs/sui.git --branch testnet --single-branch
70-
# cd sui
71-
# # git remote add upstream https://github.com/MystenLabs/sui
72-
# # git fetch upstream
73-
# # git checkout -B testnet --track upstream/testnet
67+
# 4. Download Sui repository
68+
cd $HOME
69+
git clone https://github.com/MystenLabs/sui.git --branch testnet --single-branch
70+
cd sui
71+
# git remote add upstream https://github.com/MystenLabs/sui
72+
# git fetch upstream
73+
# git checkout -B testnet --track upstream/testnet
7474

7575
# cargo build -p sui-node -p sui --release
7676
# sudo mv ~/sui/target/release/sui-node /usr/local/bin/

lib/sui/lib/single-node-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class SuiSingleNodeStack extends cdk.Stack {
9898
_NODE_CF_LOGICAL_ID_: node.nodeCFLogicalId,
9999
_DATA_VOLUME_TYPE_: dataVolume.type,
100100
_DATA_VOLUME_SIZE_: dataVolumeSizeBytes.toString(),
101-
_NETWORK_ID: suiNetworkId,
101+
_NETWORK_ID_: suiNetworkId,
102102
});
103103

104104
// /var/log/cloud-init.log and

0 commit comments

Comments
 (0)