Disable log uploads

This commit is contained in:
rockstable 2022-12-10 20:05:06 +01:00
parent b8ce01d646
commit 3139977afb
2 changed files with 8 additions and 4 deletions

View File

@ -30,7 +30,7 @@ fai_dir_nfsroot_boot: "{{ fai_dir_nfsroot }}/boot"
fai_config_archive: "config.tar" fai_config_archive: "config.tar"
fai_squashfs_file: "squash.img" fai_squashfs_file: "squash.img"
fai_squashfs_path: "{{ fai_dir_download + '/' + fai_squashfs_file }}" fai_squashfs_path: "{{ fai_dir_download + '/' + fai_squashfs_file }}"
#fai_loguser: "fai" fai_loguser:
fai_menu_default: 'HW4F Desktop Jammy' fai_menu_default: 'HW4F Desktop Jammy'
fai_nfsroot_force_rebuild: false fai_nfsroot_force_rebuild: false

View File

@ -49,11 +49,15 @@
# For example, you can use write permissions for the group linuxadm. # For example, you can use write permissions for the group linuxadm.
# chgrp linuxadm /srv/tftp/fai;chmod g+w /srv/tftp/fai. # chgrp linuxadm /srv/tftp/fai;chmod g+w /srv/tftp/fai.
# If the variable is undefined, this feature is disabled. # If the variable is undefined, this feature is disabled.
{% if fai_loguser is defined %} {% if fai_loguser is defined and
LOGUSER={{ fai_loguser }} fai_loguser is none %}
{% else %}
### DISABLE LOG UPLOAD ### DISABLE LOG UPLOAD
LOGUSER= LOGUSER=
{% elif fai_loguser is defined and
fai_loguser is not none %}
LOGUSER={{ fai_loguser }}
{% else %}
#LOGUSER=
{% endif %} {% endif %}
# Protocol for saving logs # Protocol for saving logs