@@ -12,7 +12,7 @@ setVars() {
12
12
NETWORK_NAME=${NETWORK_NAME: 0: 14}
13
13
PROFILE=$( generateName " AIL" )
14
14
15
- UBUNTU=" ubuntu:22 .04"
15
+ UBUNTU=" ubuntu:24 .04"
16
16
}
17
17
18
18
setDefaults (){
@@ -165,11 +165,10 @@ createLacusContainer(){
165
165
lxc exec " $LACUS_CONTAINER " -- apt install pipx -y
166
166
lxc exec " $LACUS_CONTAINER " -- pipx install poetry
167
167
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
173
172
lxc exec " $LACUS_CONTAINER " -- git clone https://github.com/ail-project/lacus.git
174
173
lxc exec " $LACUS_CONTAINER " --cwd=/root/lacus -- /root/.local/bin/poetry install
175
174
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
475
474
lacus_ip=$( lxc list " $LACUS_CONTAINER " --format=json | jq -r ' .[0].state.network.eth0.addresses[] | select(.family=="inet").address' )
476
475
fi
477
476
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"
479
479
echo " --------------------------------------------------------------------------------------------"
480
480
echo -e " ${BLUE} AIL ${NC} credentials:"
481
481
echo -e " Email: ${GREEN} $ail_email ${NC} "
@@ -484,5 +484,7 @@ echo -e "API Key: ${GREEN}$ail_API_Key${NC}"
484
484
echo " --------------------------------------------------------------------------------------------"
485
485
if $LACUS ; then
486
486
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"
487
489
fi
488
490
echo " --------------------------------------------------------------------------------------------"
0 commit comments