File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/virtual-machines/linux Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -217,13 +217,13 @@ This article assumes that you've already installed a CentOS (or similar derivati
217
217
218
218
16. Run the following commands to deprovision the virtual machine and prepare it for provisioning on Azure:
219
219
220
+ ```bash
221
+ sudo waagent -force -deprovision+user
222
+ sudo export HISTSIZE=0
223
+ ```
220
224
> [!NOTE]
221
225
> If you are migrating a specific virtual machine and do not wish to create a generalized image, skip the deprovision step.
222
226
223
- ```bash
224
- sudo waagent -force -deprovision+user
225
- sudo export HISTSIZE=0
226
- ```
227
227
228
228
17. Click **Action -> Shut Down** in Hyper-V Manager. Your Linux VHD is now ready to be [uploaded to Azure](./upload-vhd.md#option-1-upload-a-vhd).
229
229
You can’t perform that action at this time.
0 commit comments