A diagnostic tool that checks if your system meets the requirements for running QPoint.
- Root privileges
- Filesystem read-write status
- Linux kernel version (≥ 5.10)
- Kernel lockdown status
- Cgroups v2 configuration
- BPF system settings
- Network interface configuration
Run directly using curl:
curl -sSL https://github.com/qpoint-io/preflight/releases/latest/download/preflight.sh | bashOr wget:
wget -qO- https://github.com/qpoint-io/preflight/releases/latest/download/preflight.sh | bash- Download the script:
wget https://github.com/qpoint-io/preflight/releases/latest/download/preflight.sh- (Optional) Verify the checksum:
# Download the checksum file
wget https://github.com/qpoint-io/preflight/releases/latest/download/checksum.txt
# Verify the file matches the checksum
sha256sum -c checksum.txt- Make it executable:
chmod +x preflight.sh- Run it:
sudo ./preflight.sh- Docker (required for Mac or Windows development)
- Linux environment (native or containerized)
Start a development container (required for Mac/Windows):
make devFormat and lint the code:
make fmtInstall development tools:
make install-toolsTo create a new release:
- Create and push a new version tag:
git tag v1.0.0 # Increment version number as needed
git push origin v1.0.0- GitHub Actions will automatically:
- Build the release artifacts
- Create a new GitHub release
- Upload the preflight script and checksum file
Contributions are welcome! Please follow these guidelines:
- All shell code must pass shellcheck validation
- Maintain the existing structure in
preflight.sh - For architectural changes, please open an issue first
- Ensure your code passes
make fmt - Add tests for new checks if applicable
- Update documentation as needed
- Submit a pull request with a clear description of the changes