diff --git a/builder/azure/chroot/step_create_image.go b/builder/azure/chroot/step_create_image.go index 58ae20891..a818c4cd7 100644 --- a/builder/azure/chroot/step_create_image.go +++ b/builder/azure/chroot/step_create_image.go @@ -70,6 +70,8 @@ func (s *StepCreateImage) Run(ctx context.Context, state multistep.StateBag) mul var datadisks []compute.ImageDataDisk for lun, resource := range diskset { if lun != -1 { + ui.Say(fmt.Sprintf(" using %q for data disk (lun %d).", resource, lun)) + datadisks = append(datadisks, compute.ImageDataDisk{ Lun: to.Int32Ptr(lun), ManagedDisk: &compute.SubResource{ID: to.StringPtr(resource.String())}, diff --git a/builder/azure/chroot/step_create_shared_image_version.go b/builder/azure/chroot/step_create_shared_image_version.go index 360f45f51..614ad100f 100644 --- a/builder/azure/chroot/step_create_shared_image_version.go +++ b/builder/azure/chroot/step_create_shared_image_version.go @@ -60,6 +60,8 @@ func (s *StepCreateSharedImageVersion) Run(ctx context.Context, state multistep. var datadisks []compute.GalleryDataDiskImage for lun, resource := range snapshotset { if lun != -1 { + ui.Say(fmt.Sprintf(" using %q for data disk (lun %d).", resource, lun)) + datadisks = append(datadisks, compute.GalleryDataDiskImage{ Lun: to.Int32Ptr(lun), Source: &compute.GalleryArtifactVersionSource{ID: to.StringPtr(resource.String())},