Unverified Commit f0d08ef2 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Remove flag (#487)

* fix: Remove flag
parent e4334f94
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@ services:
            - 'c *:* rwm'
        cap_add:
            - NET_ADMIN
            - LINUX_IMMUTABLE
        ports:
            - 5000:5000
        volumes:
+0 −1
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@ services:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
      - LINUX_IMMUTABLE
    ports:
      - 5000:5000
    volumes:
+1 −2
Original line number Diff line number Diff line
@@ -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

+1 −2
Original line number Diff line number Diff line
@@ -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