AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Linux imate5/2/2023 When you follow the preceding steps, there are a few important points to highlight: For more information and specific steps for each distribution, see distributions and versions. The steps to prepare a Linux image for Azure vary based on the distribution. Images with a disk size greater than 128 GB are not supported by Lab Services.Ĭonnect to the Hyper-V VM and prepare it for Azure by following the steps in Manual steps to create and upload an Ubuntu VHD. iso file that you previously downloaded from Ubuntu. In the Installation Options settings, select the. In the Connect Virtual Hard Disk settings, the disk's Size must not be greater than 128 GB, as shown in the following image. Use the Default Switch network configuration option to allow the VM to connect to the internet. ![]() The VM must be created as a Generation 1 VM. For more information, read the article on how to create a virtual machine in Hyper-V. Start with a Hyper-V VM in your physical lab environment that was created from your image. For more information about the prebuilt Azure VHDs, read Ubuntu's documentation. As a result, when you create a custom image by using Windows Hyper-V, you won't be able to connect to these VHDs to make image customizations. These VHDs require that you first set the default user password, which can only be done by using Linux tooling, such as qemu, which isn't available for Windows. These VHDs are intended for creating custom images from a Linux host machine and hypervisor, such as KVM. Ubuntu also publishes prebuilt Azure VHDs for download. Another option is to install GNOME\MATE using a lab's template VM. Instead, use an Ubuntu Server image and install a different graphical desktop, such as XFCE. GNOME and MATE currently have a networking conflict with the Azure Linux Agent which is needed for the image to work properly in Azure Lab Services. If you are using Ubuntu 18.04 LTS, we recommend using an image that does not have the GNOME or MATE graphical desktops installed. The following steps show how to create an Ubuntu 18.04\20.04 image from a Hyper-V virtual machine (VM) by using Windows Hyper-V Manager.ĭownload the official Linux Ubuntu Server image to your Windows host machine that you'll use to set up the custom image on a Hyper-V VM. ![]() Prepare a custom image by using Hyper-V Manager ![]() For more information, read the Moving from a Physical Lab to Azure Lab Services blog post. ![]() When you move images from a physical lab environment to Lab Services, restructure each image so that it only includes software needed for a lab's class. You'll need permission to create an Azure managed disk in your school's Azure subscription to complete the steps in this article. For information on using a VHD to create custom images for other distributions, see Generic steps for Linux distributions. In this article, we'll show the steps to bring a custom Ubuntu 16.04\18.04\20.04 image from a VHD. Every distribution is different because each one has unique prerequisites that must be set up to run on Azure. The steps to bring a custom Linux image from a VHD varies for each distribution. Before you use this approach for creating a custom image, read Recommended approaches for creating custom images to decide which approach is best for your scenario.Īzure endorses a variety of distributions and versions. With this approach, you create a VHD from your physical environment and import the VHD into a compute gallery so that it can be used within Azure Lab Services. The steps in this article show how to import a Linux custom image that starts from your physical lab environment.
0 Comments
Read More
Leave a Reply. |