Install missing dependency on Citadel OS

This commit is contained in:
Aaron Dewes 2021-11-17 18:26:31 +00:00
parent a6d1530ca3
commit 68efd00e2b

View File

@ -63,6 +63,8 @@ if [[ ! -z "${CITADEL_OS:-}" ]]; then
curl https://raw.githubusercontent.com/runcitadel/os/main/stage1/00-boot-files/files/config.txt > /boot/config.txt curl https://raw.githubusercontent.com/runcitadel/os/main/stage1/00-boot-files/files/config.txt > /boot/config.txt
echo "source ~/citadel/setenv" | tee -a /home/citadel/.bashrc echo "source ~/citadel/setenv" | tee -a /home/citadel/.bashrc
sudo apt install -y python3-dacite
fi fi
# Checkout to the new release # Checkout to the new release
@ -74,7 +76,7 @@ cat <<EOF > "$CITADEL_ROOT"/statuses/update-status.json
{"state": "installing", "progress": 40, "description": "Configuring new release", "updateTo": "$RELEASE"} {"state": "installing", "progress": 40, "description": "Configuring new release", "updateTo": "$RELEASE"}
EOF EOF
./scripts/configure ./scripts/configure || true
# Pulling new containers # Pulling new containers
echo "Pulling new containers" echo "Pulling new containers"