Creating a server with kernel extensions enabled via API
Some workloads on Apple Silicon servers require kernel extensions (kexts), for example, when using MacFUSE.
Kernel extensions are low-level components that extend macOS capabilities at the kernel level. On Scaleway Apple Silicon servers, kernel extensions are disabled by default for security and stability reasons. However, you can enable them when creating a server via the API by setting the enable_kext parameter.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- An API key with sufficient permissions
curlor another HTTP client to call the API
Enabling kernel extensions via API
-
Before making API calls, set your environment variables:
export SCW_SECRET_KEY="<YOUR_API_SECRET_KEY>" -
Create an Apple Silicon server using the API. Set the
enable_kextparameter totrue. API Endpoint:POST https://api.scaleway.com/apple-silicon/v1alpha1/zones/{zone}/serversReplace
{zone}with your desired Availability Zone (e.g.fr-par-3).Example Request (cURL)
curl -X POST \ -H "X-Auth-Token: $SCW_SECRET_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "project_id": "string", "type": "string", "enable_kext": true }' \ "https://api.scaleway.com/apple-silicon/v1alpha1/zones/{zone}/servers"Key Fields
Field Type Description namestring Server name (optional, you can generate one) project_idstring Your Scaleway Project ID typestring Server type (e.g. M2-M,M2-L,M1-M)enable_kextboolean Enables kernel extension capability on the server
On success, the API returns a JSON with server details, including:
id— server UUIDtype— chosen hardwarename— assigned or given name- Network info (e.g., public IP)
- Credentials (
ssh_username,sudo_password) - Status and creation timestamps
Installing MacFUSE
Once your server is running with kernel extensions enabled, you can install MacFUSE. MacFUSE adds support for FUSE file systems to macOS, which run in user space and are safer and easier to develop than conventional file systems.
- Connect to your Apple Silicon server using Remote Desktop.
- Open Safari (or another browser) and download MacFUSE from https://macfuse.github.io/.
- Run the installer.
- After installation, open System Settings → Security & Privacy. You should see an Allow button.
- Click Allow, then restart your server.