Skip to content

Commit 4ed83f5

Browse files
authored
Update suse-create-upload-vhd.md
fixed code blocks
1 parent d1fc86d commit 4ed83f5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/virtual-machines/linux/suse-create-upload-vhd.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.subservice: imaging
77
ms.collection: linux
88
ms.custom: linux-related-content
99
ms.topic: how-to
10-
ms.date: 12/14/2022
10+
ms.date: 04/28/2024
1111
ms.author: srijangupta
1212
ms.reviewer: mattmcinnes
1313
---
@@ -270,7 +270,7 @@ You can then verify that the repositories have been added by running the command
270270
7. Modify the kernel boot line in your GRUB configuration to include other kernel parameters for Azure. To do this, open */boot/grub/menu.lst* in a text editor and ensure that the default kernel includes the following parameters:
271271
272272
```config-grub
273-
console=ttyS0 earlyprintk=ttyS0
273+
console=ttyS0 earlyprintk=ttyS0
274274
```
275275
276276
This option ensures that all console messages are sent to the first serial port, which can assist Azure support with debugging issues. In addition, remove the following parameters from the kernel boot line if they exist:
@@ -318,12 +318,12 @@ You can then verify that the repositories have been added by running the command
318318
If you're migrating a specific virtual machine and don't want to create a generalized image, skip the deprovisioning step.
319319
320320
```bash
321-
sudo rm -f ~/.bash_history # Remove current user history
322-
sudo rm -rf /var/lib/waagent/
323-
sudo rm -f /var/log/waagent.log
324-
sudo waagent -force -deprovision+user
325-
sudo rm -f ~/.bash_history # Remove root user history
326-
sudo export HISTSIZE=0
321+
sudo rm -f ~/.bash_history # Remove current user history
322+
sudo rm -rf /var/lib/waagent/
323+
sudo rm -f /var/log/waagent.log
324+
sudo waagent -force -deprovision+user
325+
sudo rm -f ~/.bash_history # Remove root user history
326+
sudo export HISTSIZE=0
327327
```
328328
329329
14. Select **Action** > **Shut Down** in Hyper-V Manager.

0 commit comments

Comments
 (0)