Skip to content

Commit

Permalink
fix: Remove flag (#487)
Browse files Browse the repository at this point in the history
* fix: Remove flag
  • Loading branch information
kroese authored Dec 23, 2023
1 parent e4334f9 commit f0d08ef
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ services:
- 'c *:* rwm'
cap_add:
- NET_ADMIN
- LINUX_IMMUTABLE
ports:
- 5000:5000
volumes:
Expand Down
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ services:
- /dev/kvm
cap_add:
- NET_ADMIN
- LINUX_IMMUTABLE
ports:
- 5000:5000
volumes:
Expand Down
3 changes: 1 addition & 2 deletions src/disk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@ checkFS () {

if [[ "$FA" != *"C"* ]]; then
info "Warning: the filesystem of $DIR is ${FS^^}, and COW (copy on write) is not disabled for that folder!"
info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag"
info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>"
info "This will negatively affect performance, please empty the folder and disable COW first (chattr +C <path>)."
fi
fi

Expand Down
3 changes: 1 addition & 2 deletions src/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ if [[ "$FS" == "xfs" || "$FS" == "zfs" || "$FS" == "btrfs" || "$FS" == "bcachefs
fi
if [[ "$FA" != *"C"* ]]; then
info "Warning: the filesystem of $STORAGE is ${FS^^}, and COW (copy on write) is not disabled for that folder!"
info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag"
info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>"
info "This will negatively affect performance, please empty the folder and disable COW first (chattr +C <path>)."
fi
fi

Expand Down

0 comments on commit f0d08ef

Please sign in to comment.