Skip to content

Commit 36f4d74

Browse files
acrolinx suggestions
1 parent cb625f0 commit 36f4d74

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ This article assumes that you have already installed a SUSE or openSUSE Leap Lin
2424

2525
## SLES / openSUSE Leap installation notes
2626

27-
* Please see [General Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more tips on preparing Linux images for Azure.
28-
* The VHDX format is not supported in Azure, only **fixed VHD**. You can convert the disk to VHD format using Hyper-V Manager or the convert-vhd cmdlet.
29-
* When installing the Linux operating system it is recommended that you use standard partitions rather than logical volume manager (LVM) managed partitions, which is often the default for many installations. This will avoid LVM name conflicts with cloned VMs, particularly if an OS disk ever needs to be attached to another VM for troubleshooting. [LVM](/previous-versions/azure/virtual-machines/linux/configure-lvm) or [RAID](/previous-versions/azure/virtual-machines/linux/configure-raid) may be used on data disks if preferred.
30-
* Do not configure a swap partition on the OS disk. The Linux agent can be configured to create a swap file on the temporary resource disk. More information about this can be found in the steps below.
31-
* All VHDs on Azure must have a virtual size aligned to 1MB. When converting from a raw disk to VHD you must ensure that the raw disk size is a multiple of 1MB before conversion. See [Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more information.
27+
* For more tips on preparing Linux images for Azure, see [General Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes)
28+
* The VHDX format isn't supported in Azure, only **fixed VHD**. You can convert the disk to VHD format using Hyper-V Manager or the convert-vhd cmdlet.
29+
* When installing the Linux operating system, use standard partitions rather than logical volume manager (LVM) managed partitions, which is often the default for many installations. Using standard partitions will avoid LVM name conflicts with cloned VMs, particularly if an OS disk ever needs to be attached to another VM for troubleshooting. [LVM](/previous-versions/azure/virtual-machines/linux/configure-lvm) or [RAID](/previous-versions/azure/virtual-machines/linux/configure-raid) may be used on data disks if preferred.
30+
* Don't configure a swap partition on the OS disk. The Linux agent can be configured to create a swap file on the temporary resource disk. More information about configuring swap space can be found in the steps below.
31+
* All VHDs on Azure must have a virtual size aligned to 1 MB. When converting from a raw disk to VHD, you must ensure that the raw disk size is a multiple of 1 MB before conversion. See [Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more information.
3232

3333
## Use SUSE Studio
3434

35-
[SUSE Studio](https://studioexpress.opensuse.org/) can easily create and manage your SLES and openSUSE Leap images for Azure and Hyper-V. This is the recommended approach for customizing your own SLES and openSUSE Leap images.
35+
[SUSE Studio](https://studioexpress.opensuse.org/) can easily create and manage your SLES and openSUSE Leap images for Azure and Hyper-V. SUSE Studio is the recommended approach for customizing your own SLES and openSUSE Leap images.
3636

3737
As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your Own Subscription) images for SLES at [VM Depot](https://www.microsoft.com/research/wp-content/uploads/2016/04/using-and-contributing-vms-to-vm-depot.pdf).
3838

@@ -94,7 +94,7 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
9494
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
9595
```
9696

97-
This will ensure all console messages are sent to the first serial port, which can assist Azure support with debugging issues.
97+
This configuration will ensure all console messages are sent to the first serial port, which can assist Azure support with debugging issues.
9898

9999
9. Ensure the "/etc/fstab" file references the disk using its UUID (by-uuid)
100100

@@ -107,7 +107,7 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
107107
exit
108108
```
109109

110-
11. It is recommended to edit the "/etc/sysconfig/network/dhcp" file and change the `DHCLIENT_SET_HOSTNAME` parameter to the following:
110+
11. It's recommended to edit the "/etc/sysconfig/network/dhcp" file and change the `DHCLIENT_SET_HOSTNAME` parameter to the following:
111111

112112
```config
113113
DHCLIENT_SET_HOSTNAME="no"
@@ -117,16 +117,16 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
117117

118118
```text
119119
Defaults targetpw # ask for the password of the target user i.e. root
120-
ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
120+
ALL ALL=(ALL) ALL # WARNING! Only use this setting together with 'Defaults targetpw'!
121121
```
122122

123-
13. Ensure that the SSH server is installed and configured to start at boot time. This is usually the default.
123+
13. Ensure that the SSH server is installed and configured to start at boot time.
124124

125125
14. Swap configuration
126126

127-
Do not create swap space on the operating system disk.
127+
Don't create swap space on the operating system disk.
128128

129-
Previously, the Azure Linux Agent was used to automatically configure swap space by using the local resource disk that is attached to the virtual machine after the virtual machine is provisioned on Azure. However this is now handled by cloud-init, you **must not** use the Linux Agent to format the resource disk or create the swap file. Use these commands to modify `/etc/waagent.conf` appropriately:
129+
Previously, the Azure Linux Agent was used to automatically configure swap space by using the local resource disk that is attached to the virtual machine after the virtual machine is provisioned on Azure. However this step is now handled by cloud-init, you **must not** use the Linux Agent to format the resource disk or create the swap file. Use these commands to modify `/etc/waagent.conf` appropriately:
130130

131131
```console
132132
sudo -i
@@ -135,11 +135,11 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
135135
exit
136136
```
137137

138-
Please see the [Linux agent configuration](/azure/virtual-machines/extensions/agent-linux#configuration) documentation for more information on the waagent.conf configuration options.
138+
For more information on the waagent.conf configuration options, see the [Linux agent configuration](/azure/virtual-machines/extensions/agent-linux#configuration) documentation.
139139

140140
If you want to mount, format and create a swap partition you can either:
141-
* Pass this in as a cloud-init config every time you create a VM.
142-
* Use a cloud-init directive baked into the image that will do this every time the VM is created:
141+
* Pass this configuration in as a cloud-init config every time you create a VM.
142+
* Use a cloud-init directive baked into the image that configures swap space every time the VM is created:
143143

144144
```console
145145
sudo -i
@@ -203,7 +203,7 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
203203
sudo zypper ar -f http://download.opensuse.org/update/15.2 openSUSE_15.2_Updates
204204
```
205205

206-
You can then verify the repositories have been added by running the command '`zypper lr`' again. If one of the relevant update repositories is not enabled, enable it with following command:
206+
You can then verify the repositories have been added by running the command '`zypper lr`' again. If one of the relevant update repositories isn't enabled, enable it with following command:
207207

208208
```console
209209
sudo zypper mr -e [NUMBER OF REPOSITORY]
@@ -233,13 +233,13 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
233233
console=ttyS0 earlyprintk=ttyS0
234234
```
235235

236-
This will ensure 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:
236+
This option will ensure 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:
237237

238238
```config-grub
239239
libata.atapi_enabled=0 reserve=0x1f0,0x8
240240
```
241241

242-
7. It is recommended to edit the "/etc/sysconfig/network/dhcp" file and change the `DHCLIENT_SET_HOSTNAME` parameter to the following:
242+
7. It's recommended to edit the "/etc/sysconfig/network/dhcp" file and change the `DHCLIENT_SET_HOSTNAME` parameter to the following setting:
243243

244244
```config
245245
DHCLIENT_SET_HOSTNAME="no"
@@ -252,8 +252,8 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
252252
ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
253253
```
254254

255-
9. Ensure that the SSH server is installed and configured to start at boot time. This is usually the default.
256-
10. Do not create swap space on the OS disk.
255+
9. Ensure that the SSH server is installed and configured to start at boot time.
256+
10. Don't create swap space on the OS disk.
257257

258258
The Azure Linux Agent can automatically configure swap space using the local resource disk that is attached to the VM after provisioning on Azure. Note that the local resource disk is a *temporary* disk, and might be emptied when the VM is deprovisioned. After installing the Azure Linux Agent (see previous step), modify the following parameters in the "/etc/waagent.conf" as follows:
259259

@@ -262,7 +262,7 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
262262
ResourceDisk.Filesystem=ext4
263263
ResourceDisk.MountPoint=/mnt/resource
264264
ResourceDisk.EnableSwap=y
265-
ResourceDisk.SwapSizeMB=2048 ## NOTE: set this to whatever you need it to be.
265+
ResourceDisk.SwapSizeMB=2048 ## NOTE: set the size to whatever you need it to be.
266266
```
267267

268268
11. Ensure the Azure Linux Agent runs at startup:

0 commit comments

Comments
 (0)