freebsd-update work directory is now configurable in gocage.conf.yml

This commit is contained in:
yo 2024-09-22 19:30:35 +02:00
parent f3f348164a
commit 76c720354c
2 changed files with 4 additions and 1 deletions

View File

@ -68,7 +68,7 @@ MergeChanges /etc/
# Directory in which to store downloaded updates and temporary # Directory in which to store downloaded updates and temporary
# files used by FreeBSD Update. # files used by FreeBSD Update.
WorkDir /iocage/freebsd-update WorkDir TO-BE-REPLACED-WITH-UPDATEWORKDIR
# Destination to send output of "freebsd-update cron" if an error # Destination to send output of "freebsd-update cron" if an error
# occurs or updates have been downloaded. # occurs or updates have been downloaded.

View File

@ -5,6 +5,9 @@ datastore:
# Prefix all commands with sudo # Prefix all commands with sudo
sudo: false sudo: false
# Directory used to store update temporary files. Mutualized so we save bandwith
updateWorkDir: /iocage/freebsd-updates
# Columns to display when "gocage list". Column names are struct fields, see cmd/struct.go # Columns to display when "gocage list". Column names are struct fields, see cmd/struct.go
outcol: 'JID,Name,Config.Release,Config.Ip4_addr,Running' outcol: 'JID,Name,Config.Release,Config.Ip4_addr,Running'