Skip to content

Commit 94061fb

Browse files
committed
add uv to rc, get alloy from our repo
1 parent 458a2d1 commit 94061fb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

genesis/images/genesis_base/install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ sudo apt install -y build-essential python3.12-dev python3.12-venv \
4040

4141
export UV_INSTALLER_GHE_BASE_URL=https://github.com
4242
curl -LsSf https://github.com/astral-sh/uv/releases/download/0.11.7/uv-installer.sh | sh
43+
chmod +x "$HOME"/.local/bin/env
4344
source "$HOME"/.local/bin/env
45+
uv tool update-shell
46+
sudo -u ubuntu -- uv tool update-shell
4447

4548
# Install the Core Agent
4649
# Prepare a fresh virtrual environment
@@ -77,7 +80,8 @@ sudo cp -a "$IMG_ARTS_PATH/lib/." "/usr/local/lib/genesis/"
7780
sudo systemctl enable genesis-bootstrap genesis-root-autoresize genesis-universal-agent
7881

7982
# Install Alloy
80-
wget -q https://github.com/grafana/alloy/releases/download/v${ALLOY_VERSION}/alloy-${ALLOY_VERSION}-1.amd64.deb
83+
wget -q https://repository.genesis-core.tech/alloy/alloy-${ALLOY_VERSION}-1.amd64.deb
84+
#wget -q https://github.com/grafana/alloy/releases/download/v${ALLOY_VERSION}/alloy-${ALLOY_VERSION}-1.amd64.deb
8185
sudo dpkg -i alloy-${ALLOY_VERSION}-1.amd64.deb
8286
rm -f alloy-${ALLOY_VERSION}-1.amd64.deb
8387

0 commit comments

Comments
 (0)