By the way, I gave up and switched towards azure-arm builder - - even if it's a a bit slower than azure-chroot.
Le dim. 19 janv. 2020 à 11:26, Rodrigue Chakode <[email protected]> a écrit : > Hi Richard, > Thanks for your help. > > I tried that option (os_disk_size_gb), which shall be used with the option > 'from_scratch' (I failed to understand values to provide for > 'pre_mount_commands', also required in that case) :( > > For amazon-chroot builder, there is an option ('root_volume_size' > [1]) which seems close to what I'm expecting, but it's not supported by > azure-chroot builder > > [1] > https://www.packer.io/docs/builders/amazon-chroot.html#root_volume_size > > Rodrigue > > > On Sun, Jan 19, 2020 at 10:59 AM Rickard von Essen < > [email protected]> wrote: > >> 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 >> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt8V-_WhkoF_yw1nn2tjrPSeS7Y9BEo%2BGYhiXKw4H4YkVg%40mail.gmail.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/CA%2BJEtC0uAOy%2BnaVw%3DgsDaSDzdQq3YkLYBSkH1wEtvO0WQB%3DHdw%40mail.gmail.com.
