I have never used Azure but maybe this is the option you are looking for?

https://packer.io/docs/builders/azure-chroot.html#os_disk_size_gb

On Sun, Jan 19, 2020, 10:15 Rodrigue Chakode <[email protected]>
wrote:

> Hello,
> Is it possible to change the default size of the device setup by Packer to
> build an image using chroot?
> Indeed, it seems that the size is fixed to 2Gb and in my case the
> provisionning script installs tools that make the disk full (causing the
> failing of the build).
>
> ==> azure-chroot: No apport report written because the error message
> indicates a disk full error
>
>
> https://groups.google.com/group/packer-tool
>
> Here is an extract of df -h
>
> /dev/sdd1       2.0G  1.7G  320M  84% /mnt/packer-azure-chroot-disks/sdd
>
> Thanks,
>
> Rodrigue
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/8ed1bd67-8840-45f1-92b4-df3966d8c647%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/8ed1bd67-8840-45f1-92b4-df3966d8c647%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt8V-_WhkoF_yw1nn2tjrPSeS7Y9BEo%2BGYhiXKw4H4YkVg%40mail.gmail.com.

Reply via email to