File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
articles/virtual-machines/linux Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -184,17 +184,19 @@ The [Azure Linux Agent](../extensions/agent-linux.md) `waagent` provisions a Lin
184
184
** Initramfs**
185
185
186
186
` ` ` bash
187
- sudo cp /boot/initramfs-< kernel-version> .img < kernel-version> .img.bak
188
- sudo dracut -f -v /boot/initramfs-< kernel-version> .img < kernel-version> --add-drivers " hv_vmbus hv_netvsc hv_storvsc"
187
+ sudo cd /boot
188
+ sudo cp initramfs-< kernel-version> .img < kernel-version> .img.bak
189
+ sudo dracut -f -v initramfs-< kernel-version> .img < kernel-version> --add-drivers " hv_vmbus hv_netvsc hv_storvsc"
189
190
sudo grub-mkconfig -o /boot/grub/grub.cfg
190
191
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
191
192
` ` `
192
193
193
194
** Initrd**
194
195
195
196
` ` ` bash
196
- sudo mv /boot/initrd.img-< kernel-version> < kernel-version> .old
197
- sudo mkinitramfs -o /boot/initrd.img-< kernel-version> < kernel-version> --with=hv_vmbus,hv_netvsc,hv_storvsc
197
+ sudo cd /boot
198
+ sudo cp initrd.img-< kernel-version> initrd.img-< kernel-version> .bak
199
+ sudo mkinitramfs -o initrd.img-< kernel-version> < kernel-version> --with=hv_vmbus,hv_netvsc,hv_storvsc
198
200
sudo update-grub
199
201
` ` `
200
202
4. Ensure that the SSH server is installed, and configured to start at boot time. This configuration is usually the default.
You can’t perform that action at this time.
0 commit comments