@@ -62,15 +62,15 @@ Here are a few important points:
62
62
63
63
3 . Select ** Download onboarding package** . Save the file as ` WindowsDefenderATPOnboardingPackage.zip ` .
64
64
65
- :::image type="content" source="media/portal-onboarding-linux-2.png" alt-text="The Download onboarding package option" lightbox="media/portal-onboarding-linux-2.png" :::
65
+ :::image type="content" source="media/portal-onboarding-linux-2.png" alt-text="The Download onboarding package option":::
66
66
67
67
4 . On the SaltStack Master, extract the contents of the archive to the SaltStack Server's folder (typically ` /srv/salt ` ):
68
68
69
69
``` bash
70
70
ls -l
71
71
```
72
72
73
- ` ` ` Output
73
+ ` ` ` console
74
74
total 8
75
75
-rw-r--r-- 1 test staff 4984 Feb 18 11:22 WindowsDefenderATPOnboardingPackage.zip
76
76
` ` `
@@ -79,7 +79,7 @@ Here are a few important points:
79
79
unzip WindowsDefenderATPOnboardingPackage.zip -d /srv/salt/mde
80
80
` ` `
81
81
82
- ` ` ` Output
82
+ ` ` ` console
83
83
Archive: WindowsDefenderATPOnboardingPackage.zip
84
84
inflating: /srv/salt/mde/mdatp_onboard.json
85
85
` ` `
@@ -115,7 +115,7 @@ In this step, you create a SaltState state file in your configuration repository
115
115
cat /srv/salt/install_mdatp.sls
116
116
```
117
117
118
- ```output
118
+ ```console
119
119
add_ms_repo:
120
120
pkgrepo.managed:
121
121
- humanname: Microsoft Defender Repository
@@ -136,7 +136,7 @@ In this step, you create a SaltState state file in your configuration repository
136
136
137
137
2. Add the package installed state to `install_mdatp.sls` after the `add_ms_repo` state as previously defined.
138
138
139
- ```Output
139
+ ```console
140
140
install_mdatp_package:
141
141
pkg.installed:
142
142
- name: matp
@@ -145,7 +145,7 @@ In this step, you create a SaltState state file in your configuration repository
145
145
146
146
4. Add the onboarding file deployment to `install_mdatp.sls` after the `install_mdatp_package` as previously defined.
147
147
148
- ```Output
148
+ ```console
149
149
copy_mde_onboarding_file:
150
150
file.managed:
151
151
- name: /etc/opt/microsoft/mdatp/mdatp_onboard.json
@@ -155,7 +155,7 @@ In this step, you create a SaltState state file in your configuration repository
155
155
156
156
The completed install state file should look similar to this output:
157
157
158
- ```Output
158
+ ```console
159
159
add_ms_repo:
160
160
pkgrepo.managed:
161
161
- humanname: Microsoft Defender Repository
@@ -193,15 +193,15 @@ In this step, you create a SaltState state file in your configuration repository
193
193
cat /srv/salt/uninstall_mdatp.sls
194
194
```
195
195
196
- ```Output
196
+ ```console
197
197
remove_mde_onboarding_file:
198
198
file.absent:
199
199
- name: /etc/opt/microsoft/mdatp/mdatp_onboard.json
200
200
```
201
201
202
202
6. Add the offboarding file deployment to the `uninstall_mdatp.sls` file after the `remove_mde_onboarding_file` state defined in the previous section.
203
203
204
- ```Output
204
+ ```console
205
205
offboard_mde:
206
206
file.managed:
207
207
- name: /etc/opt/microsoft/mdatp/mdatp_offboard.json
@@ -210,15 +210,15 @@ In this step, you create a SaltState state file in your configuration repository
210
210
211
211
7. Add the removal of the MDATP package to the `uninstall_mdatp.sls` file after the `offboard_mde` state defined in the previous section.
212
212
213
- ```Output
213
+ ```console
214
214
remove_mde_packages:
215
215
pkg.removed:
216
216
- name: mdatp
217
217
```
218
218
219
219
The complete uninstall state file should look similar to the following output:
220
220
221
- ```Output
221
+ ```console
222
222
remove_mde_onboarding_file:
223
223
file.absent:
224
224
- name: /etc/opt/microsoft/mdatp/mdatp_onboard.json
0 commit comments