Skip to content

Commit 6d0a8cf

Browse files
committed
Fix [Lacus] new dependencies
1 parent 88be6ec commit 6d0a8cf

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

other_installers/LXD/INSTALL.sh

+9-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ setVars() {
1212
NETWORK_NAME=${NETWORK_NAME:0:14}
1313
PROFILE=$(generateName "AIL")
1414

15-
UBUNTU="ubuntu:22.04"
15+
UBUNTU="ubuntu:24.04"
1616
}
1717

1818
setDefaults(){
@@ -165,11 +165,10 @@ createLacusContainer(){
165165
lxc exec "$LACUS_CONTAINER" -- apt install pipx -y
166166
lxc exec "$LACUS_CONTAINER" -- pipx install poetry
167167
lxc exec "$LACUS_CONTAINER" -- pipx ensurepath
168-
lxc exec "$LACUS_CONTAINER" -- apt install build-essential tcl -y
169-
lxc exec "$LACUS_CONTAINER" -- git clone https://github.com/redis/redis.git
170-
lxc exec "$LACUS_CONTAINER" --cwd=/root/redis -- git checkout 7.2
171-
lxc exec "$LACUS_CONTAINER" --cwd=/root/redis -- make
172-
lxc exec "$LACUS_CONTAINER" --cwd=/root/redis -- make test
168+
lxc exec "$LACUS_CONTAINER" -- apt install build-essential tcl ffmpeg libavcodec-extra -y
169+
lxc exec "$LACUS_CONTAINER" -- git clone https://github.com/valkey-io/valkey.git
170+
lxc exec "$LACUS_CONTAINER" --cwd=/root/valkey -- git checkout 8.0
171+
lxc exec "$LACUS_CONTAINER" --cwd=/root/valkey -- make
173172
lxc exec "$LACUS_CONTAINER" -- git clone https://github.com/ail-project/lacus.git
174173
lxc exec "$LACUS_CONTAINER" --cwd=/root/lacus -- /root/.local/bin/poetry install
175174
AIL_VENV_PATH=$(lxc exec "$LACUS_CONTAINER" --cwd=/root/lacus -- bash -c "/root/.local/bin/poetry env info -p")
@@ -475,7 +474,8 @@ if $LACUS; then
475474
lacus_ip=$(lxc list "$LACUS_CONTAINER" --format=json | jq -r '.[0].state.network.eth0.addresses[] | select(.family=="inet").address')
476475
fi
477476
echo "--------------------------------------------------------------------------------------------"
478-
echo -e "${BLUE}AIL ${NC}is up and running on $ail_ip"
477+
echo -e "${BLUE}AIL ${NC}is up and running on $ail_ip."
478+
echo "You can access the web interface using https://$ail_ip:7000"
479479
echo "--------------------------------------------------------------------------------------------"
480480
echo -e "${BLUE}AIL ${NC}credentials:"
481481
echo -e "Email: ${GREEN}$ail_email${NC}"
@@ -484,5 +484,7 @@ echo -e "API Key: ${GREEN}$ail_API_Key${NC}"
484484
echo "--------------------------------------------------------------------------------------------"
485485
if $LACUS; then
486486
echo -e "${BLUE}Lacus ${NC}is up and running on $lacus_ip"
487+
echo "You can add your Lacus instance to AIL in the settings by editing the Lacus URL:"
488+
echo "http://$lacus_ip:7100"
487489
fi
488490
echo "--------------------------------------------------------------------------------------------"

0 commit comments

Comments
 (0)