You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/marketplace/azure-vm-certification-faq.yml
+40-88Lines changed: 40 additions & 88 deletions
Original file line number
Diff line number
Diff line change
@@ -323,7 +323,7 @@ sections:
323
323
3. Resubmit your certification request.
324
324
325
325
>[!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.
>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.
349
348
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.
353
350
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
-

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.
361
356
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**.
363
358
364
-

359
+

365
360
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
+

367
364
368
-

365
+
1. After you create the VM, in the left pane, select **Disks**.
369
366
370
-
1. Attach your VHD as data disk to your VM for creating a partition table.
367
+

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

371
+
1. Select **Attach existing disks**:
372
+
373
+

374
+
375
+

375
376
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**.
379
380
380
-

381
+

381
382
382
-
Your VHD will be added as data disk LUN 0.
383
+
Your VHD will be added as data disk LUN 0.
383
384
384
385
1. Restart the VM.
385
386
386
387
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.
387
388
388
-

389
+

389
390
390
391
1. Create a partition on your VHD.
391
392
392
393
1. Enter `fdisk /dev/sdb` command.
393
394
1. To view the existing partition list from your VHD, enter `p`.
394
395
1. Enter `d` to delete all existing partitions available in your VHD. You can skip this step, if it's not required.
395
396
396
-

397
+

397
398
398
399
1. Enter `n` to create new partition and select `p` for (primary partition).
399
400
400
401
1. Enter 2048 as _first sector_ value. You can leave _last sector_ as the default value.
401
402
402
403
>[!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.
404
405
405
-

406
+

406
407
407
408
1. Type `w` to confirm the creation of partition.
408
409
409
-

410
+

410
411
411
412
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.
412
413
413
-

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
-

424
-
425
-
1. Create an unmanaged disk for your VM.
426
-
427
-

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
-

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
-

442
-
443
-
1. Find your VHD storage account.
444
-
1. Select **Container** and then select your VHD.
445
-
1. Select **OK**.
446
-
447
-

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
-

456
-
457
-
1. Run the command `echo '+1M,' | sfdisk --move-data /dev/sdc -N 1`.
458
-
459
-

460
-
461
-
>[!NOTE]
462
-
>This command may take some time to complete because it depends upon the size of the disk.
414
+

463
415
464
416
1. Detach the VHD from VM and delete the VM.
465
-
417
+
466
418
467
419
- question: |
468
420
Default credentials
@@ -612,10 +564,10 @@ sections:
612
564
1. Sign in to [Partner Center](https://partner.microsoft.com/dashboard/home).
613
565
1. On the Home page, select the **Marketplace offers** tile.
614
566
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**.
619
571
620
572
Next, republish the offer.
621
573
@@ -631,13 +583,13 @@ sections:
631
583
632
584
### Locked down (or) SSH disabled offer
633
585
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.
635
587
636
588
During validation checks, Locked down VMs might not allow execution of certain certification commands.
637
589
638
590
### Custom templates
639
591
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).
641
593
642
594
Depending on the below scenarios (non-exhaustive), publishers will use custom templates for deploying the VM:
0 commit comments