Skip to content

Commit ce171ff

Browse files
ranbelpedrosousa
andauthored
[ZT] Deploy mdm.xml on macOS (#23904)
* add new mdm macOS option * update switch org examples * apply review suggestions * Update src/content/docs/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/index.mdx Co-authored-by: Pedro Sousa <[email protected]> * Update src/content/docs/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/index.mdx Co-authored-by: Pedro Sousa <[email protected]> * Update src/content/docs/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/index.mdx Co-authored-by: Pedro Sousa <[email protected]> --------- Co-authored-by: Pedro Sousa <[email protected]>
1 parent 2bc533b commit ce171ff

File tree

2 files changed

+28
-63
lines changed

2 files changed

+28
-63
lines changed

src/content/docs/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/index.mdx

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This page provides generic instructions for an automated deployment. If you want
2424

2525
## Windows
2626

27-
The WARP Client for Windows allows for an automated install via tools like Intune, AD, or any script or management tool that can execute a `.msi` file.
27+
The WARP client for Windows allows for an automated install via tools like Intune, AD, or any script or management tool that can execute a `.msi` file.
2828

2929
### Install WARP
3030

@@ -89,33 +89,42 @@ The WARP client will now launch WebView2 when the user is registering their devi
8989

9090
## macOS
9191

92-
The Cloudflare WARP macOS client allows for an automated install via tools like Jamf, Intune, Kandji, or JumpCloud or any script or management tool that can place a `com.cloudflare.warp.plist` file in `/Library/Managed Preferences` on a supported macOS device. Additionally this plist can be wrapped in a `.mobileconfig`.
92+
The WARP client for macOS allows for an automated install via tools like Jamf, Intune, Kandji, or JumpCloud or any script or management tool that can place a `com.cloudflare.warp.plist` file in `/Library/Managed Preferences`. The plist can also be wrapped in a `.mobileconfig`.
9393

94-
### Create `plist` file
94+
If you do not wish to use a management tool, you can manually place an `mdm.xml` file in `/Library/Application Support/Cloudflare`.
9595

96-
1. [Download](/cloudflare-one/static/mdm/com.cloudflare.warp.plist) an example `com.cloudflare.warp.plist` file.
97-
98-
2. Modify the file with your desired [deployment arguments](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/parameters/).
96+
### Prepare file for MDM deployment
9997

100-
3. (Optional) If you want to manually place the file in `/Library/Managed Preferences` (rather than use a management tool), convert the `plist` into binary format:
98+
#### `plist` file
10199

102-
```sh
103-
plutil -convert binary1 com.cloudflare.warp.plist
104-
```
100+
1. [Download](/cloudflare-one/static/mdm/com.cloudflare.warp.plist) an example `com.cloudflare.warp.plist` file.
105101

106-
The plist must be pushed by an MDM tool in order to persist after reboot. Manually-placed files will be automatically deleted by the OS.
102+
2. Modify the file with your desired [deployment parameters](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/parameters/).
107103

108-
### Create `mobileconfig` file
104+
#### `mobileconfig` file
109105

110106
1. [Download](/cloudflare-one/static/mdm/CloudflareWARP.mobileconfig) an example `.mobileconfig` file.
111107

112108
2. Run `uuidgen` from your macOS Terminal. This will generate a value for `PayloadUUID`, which you can use to replace the default value used for `PayloadUUID`.
113109

114-
3. Modify the file with your desired [deployment arguments](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/parameters/).
110+
3. Modify the file with your desired [deployment parameters](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/parameters/).
111+
112+
### Place an unmanaged `mdm.xml` file
113+
114+
You can configure [WARP deployment parameters](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/parameters/) on macOS by manually placing an `mdm.xml` file in `/Library/Application Support/Cloudflare`. This deployment method is an alternative to pushing a `plist` or `mobileconfig` using an MDM tool.
115+
116+
The format of `/Library/Application Support/Cloudflare/mdm.xml` is as follows:
117+
118+
```xml
119+
<dict>
120+
<key>organization</key>
121+
<string>your-team-name</string>
122+
</dict>
123+
```
115124

116125
## Linux
117126

118-
The WARP Client for Linux allows for an automated install via the presence of an `mdm.xml` file in `/var/lib/cloudflare-warp`.
127+
The WARP client for Linux allows for an automated install via the presence of an `mdm.xml` file in `/var/lib/cloudflare-warp`.
119128

120129
The format of `/var/lib/cloudflare-warp/mdm.xml` is as follows:
121130

src/content/docs/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/switch-organizations.mdx

Lines changed: 5 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@ To enable multiple organizations, administrators need to modify their [MDM file]
3939

4040
An MDM file supports a maximum of 25 configurations. The following example includes three configurations.
4141

42-
<Tabs>
42+
### XML
4343

44-
<TabItem label="Windows">
45-
46-
```xml
44+
```xml title="mdm.xml"
4745
<dict>
4846
<key>configs</key>
4947
<array>
@@ -75,56 +73,14 @@ An MDM file supports a maximum of 25 configurations. The following example inclu
7573
</dict>
7674
```
7775

78-
</TabItem>
79-
80-
<TabItem label="macOS">
81-
82-
**plist**
76+
### plist
8377

84-
[Download](/cloudflare-one/static/mdm/multiple-orgs/com.cloudflare.warp.plist) an example `.plist` file. If placing the file manually, be sure to [convert the file into binary format](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/#create-plist-file).
78+
[Download](/cloudflare-one/static/mdm/multiple-orgs/com.cloudflare.warp.plist) an example `.plist` file.
8579

86-
**mobileconfig**
80+
### mobileconfig
8781

8882
[Download](/cloudflare-one/static/mdm/multiple-orgs/CloudflareWARP.mobileconfig) an example `.mobileconfig` file.
8983

90-
</TabItem>
91-
92-
<TabItem label="Linux">
93-
94-
```xml
95-
<dict>
96-
<key>configs</key>
97-
<array>
98-
<dict>
99-
<key>organization</key>
100-
<string>mycompany</string>
101-
<key>display_name</key>
102-
<string>Production environment</string>
103-
</dict>
104-
<dict>
105-
<key>organization</key>
106-
<string>mycompany</string>
107-
<key>override_api_endpoint</key>
108-
<string>203.0.113.0</string>
109-
<key>override_doh_endpoint</key>
110-
<string>203.0.113.0</string>
111-
<key>override_warp_endpoint</key>
112-
<string>203.0.113.0:0</string>
113-
<key>display_name</key>
114-
<string>China employees</string>
115-
</dict>
116-
<dict>
117-
<key>organization</key>
118-
<string>test-org</string>
119-
<key>display_name</key>
120-
<string>Test environment</string>
121-
</dict>
122-
</array>
123-
</dict>
124-
```
125-
126-
</TabItem> </Tabs>
127-
12884
## Switch organizations in WARP
12985

13086
<Tabs> <TabItem label="Windows, macOS, and Linux">

0 commit comments

Comments
 (0)