Skip to content

Commit 4fdce60

Browse files
authored
Merge pull request #186014 from ktoliver/public-86834
[PUBLIC_MOVE] commit from public PR 86834
2 parents dfb8413 + ee13ab8 commit 4fdce60

File tree

4 files changed

+40
-88
lines changed

4 files changed

+40
-88
lines changed

articles/marketplace/azure-vm-certification-faq.yml

Lines changed: 40 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ sections:
323323
3. Resubmit your certification request.
324324
325325
>[!NOTE]
326-
>If you are publishing a locked-down VM image which has disabled or restricted ssh, please enable to checkbox 'Remote desktop or SSH disabled' in the 'Technical configuration' page of Partner Center. This will inform Certification team that this is by design and perform the right validations on the image without failing it for restricted access.
326+
>If you are publishing a locked-down VM image that has disabled or restricted ssh, please enable to checkbox 'Remote desktop or SSH disabled' in the 'Technical configuration' page of Partner Center. This will inform Certification team that this is by design and perform the right validations on the image without failing it for restricted access.
327327
328328
![Locked-down checkbox](./media/create-vm/vm-certification-issues-solutions-26.png)
329329
- question: |
@@ -342,127 +342,79 @@ sections:
342342
|
343343
344344
- question: |
345-
VM images must have 1MB free space
345+
VM images must have 1 MB of free space
346346
answer: |
347-
>[!NOTE]
348-
>As of **30 September, 2021**, if you are publishing images to Azure (with **GPT partition**), **ensure the first 2048 sectors (1 MB) of the OS disk is empty**. Otherwise, your publishing will fail. This requirement is to allow Azure to add important bits to the image (example include bits to improve boot time for customers, billing and other details).
347+
If you are publishing your image to Azure (with **GPT partition**), we *highly recommend* that you keep the first 2,048 sectors (1 MB) of the OS disk empty. This requirement is to allow Azure to add important metadata to the image (examples include metadata to improve boot time for customers, billing, and other details). Note that this is a recommendation for best practice if you are already using [an approved base image](azure-vm-create-using-approved-base.md) and your image has a valid billing tag. However, if your image does not have a valid billing tag, your publishing might fail if the first 1 MB of the OS disk isn't empty.
349348
350-
If you are [building your own image](azure-vm-create-using-own-image.md), ensure the first 2048 sectors (1 MB) of the OS disk is empty. Otherwise, your publishing will fail. This requirement is applicable to the OS disk only (not data disks). If you are building your image [from an approved base](azure-vm-create-using-approved-base.md), you can skip this requirement.
351-
352-
### How to keep 1 MB free space at the start on an empty VHD (2048 sectors, each sector of 512 bytes)
349+
If you are building your own image that does not have any valid billing tag, ensure the first 2,048 sectors (1 MB) of the OS disk are empty. Otherwise, your publishing will fail. This requirement is applicable to the OS disk only (not data disks). If you are building your image from an approved base, it will already have first 1 MB empty. Hence, you won't need to work on it separately.
353350
354-
These steps apply to Linux only.
355-
356-
1. Create any kind of Linux VM, such as Ubuntu, Cent OS, or other. Fill the required fields and select **Next: Disks >**.
357-
358-
![Screenshot that shows the Create a virtual machine page with the 'Next: Disks command' button highlighted.](./media/create-vm/vm-certification-issues-solutions-15.png)
359-
360-
1. Create an unmanaged disk for your VM.
351+
To keep the first 1 MB free in your OS disk, complete the steps in the next section.
352+
353+
### How to keep 1 MB of free space at the start on an empty VHD (2,048 sectors, each sector 512 bytes)
354+
355+
These steps apply only to Linux.
361356

362-
Either use the default values or specify any value for fields like NIC, NSG, and public IP.
357+
1. Create any kind of Linux VM, such as Ubuntu, CentOS, or other. Fill the required fields, and then select **Next: Disks**.
363358

364-
![Screenshot image of the 'Data disks' page in the Create a virtual machine flow.](./media/create-vm/vm-certification-issues-solutions-16.png)
359+
![Screenshot that shows the Create a virtual machine page with the Next: Disks command button highlighted.](./media/create-vm/vm-certification-issues-solutions-15.png)
365360

366-
1. After you create the VM, select **Disks** in the left pane.
361+
1. Create an unmanaged disk for your VM. Either use the default values or specify any value for fields like **OS disk size**, **OS disk type**, and **Encryption type**.
362+
363+
![Screenshot image of the Data disks page in the Create a virtual machine flow.](./media/create-vm/disks-pane.png)
367364

368-
![Screenshot showing how to select disks for a VM.](./media/create-vm/vm-certification-issues-solutions-17.png)
365+
1. After you create the VM, in the left pane, select **Disks**.
369366

370-
1. Attach your VHD as data disk to your VM for creating a partition table.
367+
![Screenshot showing how to select disks for a V M.](./media/create-vm/vm-certification-issues-solutions-17.png)
371368

372-
1. Select **Add DataDisk** > **Existing Blob**.
369+
1. Attach your VHD as data disk to your VM for creating a partition table.
373370

374-
![Screenshot showing how to add a data disk to your VHD.](./media/create-vm/vm-certification-issues-solutions-18.png)
371+
1. Select **Attach existing disks**:
372+
373+
![Screenshot showing how to add a data disk to your V H D.](./media/create-vm/existing-data-disk.png)
374+
375+
![Screenshot showing how to select the data disk for your V H D.](./media/create-vm/source-data-disk.png)
375376

376-
1. Find your VHD storage account.
377-
1. Select **Container** and then select your VHD.
378-
1. Select **OK**.
377+
1. Find your VHD storage account.
378+
1. Select **Container**, and then select your VHD.
379+
1. Select **OK**.
379380

380-
![Screenshot of the attach unmanaged disk page.](./media/create-vm/vm-certification-issues-solutions-19.png)
381+
![Screenshot of the attach unmanaged disk page.](./media/create-vm/vm-certification-issues-solutions-19.png)
381382

382-
Your VHD will be added as data disk LUN 0.
383+
Your VHD will be added as data disk LUN 0.
383384

384385
1. Restart the VM.
385386

386387
1. After you restart the VM, log in to the VM using Putty or another client and run the `sudo -i` command to gain root access.
387388

388-
![Putty client command line screenshot showing the sudo -i command.](./media/create-vm/vm-certification-issues-solutions-20.png)
389+
![Putty client command-line screenshot showing the sudo -i command.](./media/create-vm/vm-certification-issues-solutions-20.png)
389390

390391
1. Create a partition on your VHD.
391392

392393
1. Enter `fdisk /dev/sdb` command.
393394
1. To view the existing partition list from your VHD, enter `p`.
394395
1. Enter `d` to delete all existing partitions available in your VHD. You can skip this step, if it's not required.
395396

396-
![Putty client command line screenshot showing the commands for deleting existing partitions.](./media/create-vm/vm-certification-issues-solutions-21.png)
397+
![Putty client command-line screenshot showing the commands for deleting existing partitions.](./media/create-vm/vm-certification-issues-solutions-21.png)
397398

398399
1. Enter `n` to create new partition and select `p` for (primary partition).
399400

400401
1. Enter 2048 as _first sector_ value. You can leave _last sector_ as the default value.
401402

402403
>[!IMPORTANT]
403-
>Any existing data will be erased till 2048 sectors (each sector of 512 bytes). Backup of the VHD before you create a new partition.
404+
>Any existing data will be erased until 2048 sectors (each sector of 512 bytes). Back up the VHD before you create a new partition.
404405

405-
![Putty client command line screenshot showing the commands and output for erased data.](./media/create-vm/vm-certification-issues-solutions-22.png)
406+
![Putty client command-line screenshot showing the commands and output for erased data.](./media/create-vm/vm-certification-issues-solutions-22.png)
406407

407408
1. Type `w` to confirm the creation of partition.
408409

409-
![Putty client command line screenshot showing the commands for creating a partition.](./media/create-vm/vm-certification-issues-solutions-23.png)
410+
![Putty client command-line screenshot showing the commands for creating a partition.](./media/create-vm/vm-certification-issues-solutions-23.png)
410411

411412
1. You can verify the partition table by running the command `n fdisk /dev/sdb` and typing `p`. You'll see that partition is created with 2048 offset value.
412413

413-
![Putty client command line screenshot showing the commands for creating the 2048 offset.](./media/create-vm/vm-certification-issues-solutions-24.png)
414-
415-
1. Detach the VHD from VM and delete the VM.
416-
417-
### How to keep 1 MB free space by moving existing data on VHD (2048 sectors, each sector of 512 bytes)
418-
419-
These steps apply to Linux only.
420-
421-
1. Create any kind of Linux VM, such as Ubuntu, Cent OS, or other. Fill the required fields and select **Next: Disks >**.
422-
423-
![Screenshot that shows the Create a virtual machine page with the 'Next: Disks command' button highlighted.](./media/create-vm/vm-certification-issues-solutions-15.png)
424-
425-
1. Create an unmanaged disk for your VM.
426-
427-
![Screenshot image of the 'Data disks' page in the Create a virtual machine flow.](./media/create-vm/vm-certification-issues-solutions-16.png)
428-
429-
Either use the default values or specify any value for fields like NIC, NSG, and public IP.
430-
431-
1. After you create the VM, select **Disks** in the left pane.
432-
433-
![Screenshot showing how to select disks for a VM.](./media/create-vm/vm-certification-issues-solutions-17.png)
434-
435-
1. Attach your VHD as data disk to your VM for creating a partition table.
436-
437-
1. Attach your VHD as data disk to your VM for creating a partition table.
438-
439-
1. Select **Add DataDisk** > **Existing Blob**.
440-
441-
![Screenshot showing how to add a data disk to your VHD.](./media/create-vm/vm-certification-issues-solutions-18.png)
442-
443-
1. Find your VHD storage account.
444-
1. Select **Container** and then select your VHD.
445-
1. Select **OK**.
446-
447-
![Screenshot of the attach unmanaged disk page.](./media/create-vm/vm-certification-issues-solutions-19.png)
448-
449-
Your VHD will be added as data disk LUN 0.
450-
451-
1. Restart the VM.
452-
453-
1. Log in to the VM with Putty or another client and run `sudo -i` command to gain root access.
454-
455-
![Putty client command line screenshot showing log in and the sudo -i command.](./media/create-vm/vm-certification-issues-solutions-20.png)
456-
457-
1. Run the command `echo '+1M,' | sfdisk --move-data /dev/sdc -N 1`.
458-
459-
![Putty client command line screenshot showing the execution of the commands.](./media/create-vm/vm-certification-issues-solutions-25.png)
460-
461-
>[!NOTE]
462-
>This command may take some time to complete because it depends upon the size of the disk.
414+
![Putty client command-line screenshot showing the commands for creating the 2048 offset.](./media/create-vm/vm-certification-issues-solutions-24.png)
463415

464416
1. Detach the VHD from VM and delete the VM.
465-
417+
466418

467419
- question: |
468420
Default credentials
@@ -612,10 +564,10 @@ sections:
612564
1. Sign in to [Partner Center](https://partner.microsoft.com/dashboard/home).
613565
1. On the Home page, select the **Marketplace offers** tile.
614566
1. In the **Offer alias** column, select the offer.
615-
4. Select the **Plan overview** tab, and then select the appropriate plan.
616-
5. On the **Technical configuration** tab, under **VM Images**, next to the VM image you want to remove, select **Remove VM Image**.
617-
6. In the dialog box, select **Continue**.
618-
7. Select **Save draft**.
567+
1. Select the **Plan overview** tab, and then select the appropriate plan.
568+
1. On the **Technical configuration** tab, under **VM Images**, next to the VM image you want to remove, select **Remove VM Image**.
569+
1. In the dialog box, select **Continue**.
570+
1. Select **Save draft**.
619571
620572
Next, republish the offer.
621573
@@ -631,13 +583,13 @@ sections:
631583
632584
### Locked down (or) SSH disabled offer
633585
634-
Images which are published with either SSH disabled(for Linux) or RDP disabled (for Windows) are treated as Locked down VMs. There are special business scenarios due to which Publishers only allow restricted access to no/a few users.
586+
Images that are published with either SSH disabled(for Linux) or RDP disabled (for Windows) are treated as Locked down VMs. There are special business scenarios due to which Publishers only allow restricted access to no/a few users.
635587
636588
During validation checks, Locked down VMs might not allow execution of certain certification commands.
637589
638590
### Custom templates
639591
640-
In general, all the images which are published under single VM offers will follow standard ARM template for deployment. However, there are scenarios where publisher might requires customization while deploying VMs (e.g. multiple NIC(s) to be configured).
592+
In general, all the images that are published under single VM offers will follow standard ARM template for deployment. However, there are scenarios where publisher might require customization while deploying VMs (for example, multiple NIC(s) to be configured).
641593
642594
Depending on the below scenarios (non-exhaustive), publishers will use custom templates for deploying the VM:
643595
103 KB
Loading
105 KB
Loading
138 KB
Loading

0 commit comments

Comments
 (0)