Skip to content

Commit 9338f16

Browse files
committed
Setup fixing and SMT disable
Signed-off-by: Lazar Cvetković <l.cvetkovic.997@gmail.com>
1 parent 1532ea6 commit 9338f16

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

scripts/remote_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function CloneDirigent() {
3535
#current_branch=$(git rev-parse --abbrev-ref HEAD)
3636
#default_branch=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')
3737
#remote_branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} >/dev/null 2>&1 && echo "$current_branch" || echo "$default_branch")
38-
RemoteExec $1 "git clone --branch=dandelion_sosp25_dandelion git@github.com:eth-easl/dirigent.git ~/cluster_manager"
38+
RemoteExec $1 "git clone --branch=dandelion_sosp25_dandelion https://github.com/eth-easl/dirigent.git ~/cluster_manager"
3939
fi
4040
}
4141

@@ -48,7 +48,7 @@ function CloneDandelion() {
4848
#current_branch=$(git rev-parse --abbrev-ref HEAD)
4949
#default_branch=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')
5050
#remote_branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} >/dev/null 2>&1 && echo "$current_branch" || echo "$default_branch")
51-
RemoteExec $1 "git clone --branch=debug/hybrid_connection_upgrade_absolute git@github.com:eth-easl/dandelion.git ~/dandelion"
51+
RemoteExec $1 "git clone --branch=debug/hybrid_connection_upgrade_absolute https://github.com/eth-easl/dandelion.git ~/dandelion"
5252
popd
5353
fi
5454
}

scripts/setup_node.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
readonly DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
44

5+
# Disable SMT
6+
echo off | sudo tee /sys/devices/system/cpu/smt/control
7+
58
function SetupLoadBalancer() {
69
sudo apt-get update >> /dev/null
710
sudo apt-get -y install keepalived haproxy >> /dev/null
@@ -63,6 +66,8 @@ wget https://static.rust-lang.org/rustup.sh
6366
chmod +x rustup.sh
6467
./rustup.sh -y
6568

69+
sudo apt update && sudo apt install -y libssl-dev pkg-config libudev-dev
70+
6671
#sudo apt install snapd -y
6772
#sudo snap install yq
6873

0 commit comments

Comments
 (0)