You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -48,136 +48,132 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
48
48
49
49
If your software hypervisor is not Hyper-V, other modules need to be added into the initramfs to successfully boot in Azure
50
50
51
-
Edit the "/etc/dracut.conf" file and add the following line to the file:
51
+
Edit the "/etc/dracut.conf" file and add the following line to the file then executeh the ```dracut```command to rebuild the initramfs file:
52
52
53
-
```config
54
-
add_drivers+=" hv_vmbus hv_netvsc hv_storvsc "
55
-
```
56
-
57
-
Once the configuration file has been saved, run the following command to update the intramfs of the host:
53
+
```config
54
+
add_drivers+=" hv_vmbus hv_netvsc hv_storvsc "
55
+
```
58
56
59
-
```bash
60
-
sudo dracut --verbose --force
61
-
```
57
+
```bash
58
+
sudo dracut --verbose --force
59
+
```
62
60
63
61
2. Setup the Serial Console.
64
62
65
-
In order to successfully work with the serial console, it's required to set up several variables in the "/etc/defaults/grub" file.
63
+
In order to successfully work with the serial console, it's required to set up several variables in the "/etc/defaults/grub" file and recreate the grub on the server.
66
64
67
-
```config
68
-
# Add console=ttyS0 and earlyprintk=ttS0 to the variable
9. 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:
173
169
174
170
175
-
```bash
176
-
sudo sed -i 's/Provisioning.UseCloudInit=n/Provisioning.UseCloudInit=auto/g' /etc/waagent.conf
177
-
sudo sed -i 's/Provisioning.Enabled=y/Provisioning.Enabled=n/g' /etc/waagent.conf
178
-
sudo sed -i 's/ResourceDisk.Format=y/ResourceDisk.Format=n/g' /etc/waagent.conf
179
-
sudo sed -i 's/ResourceDisk.EnableSwap=y/ResourceDisk.EnableSwap=n/g' /etc/waagent.conf
180
-
```
171
+
```bash
172
+
sudo sed -i 's/Provisioning.UseCloudInit=n/Provisioning.UseCloudInit=auto/g' /etc/waagent.conf
173
+
sudo sed -i 's/Provisioning.Enabled=y/Provisioning.Enabled=n/g' /etc/waagent.conf
174
+
sudo sed -i 's/ResourceDisk.Format=y/ResourceDisk.Format=n/g' /etc/waagent.conf
175
+
sudo sed -i 's/ResourceDisk.EnableSwap=y/ResourceDisk.EnableSwap=n/g' /etc/waagent.conf
176
+
```
181
177
182
178
> [!NOTE]
183
179
> Make sure the **'udf'** module is enabled. Removing/disabling them will cause a provisioning/boot failure. **(_Cloud-init >= 21.2 removes the udf requirement. Please read top of document for more detail)**
@@ -186,49 +182,49 @@ As an alternative to building your own VHD, SUSE also publishes BYOS (Bring Your
186
182
187
183
11. Remove udev rules and network adapter configuration files to avoid generating static rules for the Ethernet interface(s). These rules can cause problems when cloning a virtual machine in Microsoft Azure or Hyper-V:
0 commit comments