

Sudo rm -f /etc/udev/rules.d/lesĮnsure the network service starts at boot time by running the following command: sudo chkconfig network on These rules can cause problems when cloning a virtual machine in Microsoft Azure or Hyper-V: sudo ln -s /dev/null /etc/udev/rules.d/les Modify udev rules to avoid generating static rules for the Ethernet interface(s). Uninstall this package by running the following command: sudo rpm -e -nodeps NetworkManagerĬreate or edit the file /etc/sysconfig/network and add the following text: NETWORKING=yesĬreate or edit the file /etc/sysconfig/network-scripts/ifcfg-eth0 and add the following text: DEVICE=eth0 In CentOS 6, NetworkManager can interfere with the Azure Linux agent. In Hyper-V Manager, select the virtual machine.Ĭlick Connect to open a console window for the virtual machine. Please consult with your IT department or system administrator for further assistance. We strongly recommend upgrading to a more recent version of CentOS to ensure the safety and stability of your system. This means that no further updates or security patches will be released for this version, leaving it vulnerable to potential security risks. Please note that CentOS 6 has reached its End Of Life (EOL) and is no longer supported by the CentOS community. See Linux Installation Notes for more information. When converting from a raw disk to VHD, you must ensure that the raw disk size is a multiple of 1 MB before conversion. All VHDs on Azure must have a virtual size aligned to 1 MB.

Don't configure a swap partition on the OS disk.For more information, see Red Hat KB 436883. Systems running custom kernels older than 2.6.37, or RHEL-based kernels older than 2.6.32-504 must set the boot parameter numa=off on the kernel command-line in nf. This issue primarily impacts older distributions using the upstream Centos 2.6.32 kernel, and was fixed in Centos 6.6 (kernel-2.6.32-504). Linux kernel versions below 2.6.37 don't support NUMA on Hyper-V with larger VM sizes.The Azure Linux agent or cloud-init must mount the UDF file system to read its configuration and provision the VM. At first boot on Azure the provisioning configuration is passed to the Linux VM by using UDF-formatted media that is attached to the guest. Kernel support for mounting UDF file systems is necessary.This avoids LVM name conflicts with cloned VMs, particularly if an OS disk ever needs to be attached to another identical VM for troubleshooting. When installing the Linux system it's recommended that you use standard partitions rather than LVM (often the default for many installations).The vfat kernel module must be enabled in the kernel.If you're using VirtualBox, this means selecting Fixed size as opposed to the default dynamically allocated when creating the disk. You can convert the disk to VHD format using Hyper-V Manager or the convert-vhd cmdlet.

UPDATING LINUX KERNEL CENTOS 6.X INSTALL
For instructions, see Install the Hyper-V Role and Configure a Virtual Machine. vhd files, for example a virtualization solution such as Hyper-V. This article assumes that you've already installed a CentOS (or similar derivative) Linux operating system to a virtual hard disk. Prepare a CentOS 7.0+ virtual machine for Azure.Prepare a CentOS 6.x virtual machine for Azure.Learn to create and upload an Azure virtual hard disk (VHD) that contains a CentOS-based Linux operating system. Applies to: ✔️ Linux VMs ✔️ Flexible scale sets
