
If you would like to use the OpenLogic mirrors that are hosted within the Azure datacenters, then replace the /etc//CentOS-Base.repo file with the following repositories. Sudo rm -f /etc/udev/rules.d/lesĮnsure the network service will start 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. 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 1MB before conversion. All VHDs on Azure must have a virtual size aligned to 1MB.More information about this can be found in the steps below. Do not 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 Red Hat 2.6.32 kernel, and was fixed in RHEL 6.6 (kernel-2.6.32-504). Linux kernel versions below 2.6.37 do not support NUMA on Hyper-V with larger VM sizes.The Azure Linux agent must be able to 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 via UDF-formatted media that is attached to the guest. Kernel support for mounting UDF file systems is required.This will avoid LVM name conflicts with cloned VMs, particularly if an OS disk ever needs to be attached to another identical VM for troubleshooting.



You can convert the disk to VHD format using Hyper-V Manager or the convert-vhd cmdlet.

Download virtualbox for centos 6.5 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 have 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
