Skip to content

Commit

Permalink
fix: peracotta config
Browse files Browse the repository at this point in the history
  • Loading branch information
parmigggiana committed Oct 4, 2024
1 parent 2d7a3f5 commit d653c1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chroot_scripts/40-peracotta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ if [[ -n "$missing" ]]; then
echo "@ @"
echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
else
sudo -u $MISO_USERNAME tee /home/$MISO_USERNAME/.config/WEEE\ Open/peracotta/config.toml <<EOF
sudo -u $MISO_USERNAME tee -a /home/$MISO_USERNAME/.config/WEEE\ Open/peracotta/config.toml <<EOF
TARALLO_URL = "$TARALLO_URL"
TARALLO_TOKEN = "$TARALLO_TOKEN"
EOF
fi

sudo -u $MISO_USERNAME tee /home/$MISO_USERNAME/.config/WEEE\ Open/peracotta/config.toml <<EOF
sudo -u $MISO_USERNAME tee -a /home/$MISO_USERNAME/.config/WEEE\ Open/peracotta/config.toml <<EOF
AUTOMATIC_REPORT_ERRORS = $PERACOTTA_AUTOMATIC_REPORT_ERRORS
REPORT_URL = "$PERACOTTA_REPORT_URL"
EOF
5 changes: 5 additions & 0 deletions chroot_scripts/resources/peracotta_config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TARALLO_FEATURES_AUTO_DOWNLOAD = true

GENERATE_FILES_USE_SUDO = true
GENERATE_FILES_ASK_SUDO_PASSWORD = true

0 comments on commit d653c1f

Please sign in to comment.