Hi, The GCE API for creating an Image[1] only allows one disk when creating an Image. The API for launching an Instance[2] allows a list of disks but since only one can be used in the resulting Image I we haven't implemented support for that. And no one have requested support for it.
// Rickard [1] https://cloud.google.com/compute/docs/reference/latest/images#resource [2] https://cloud.google.com/compute/docs/reference/latest/instances#resource On 15 April 2017 at 18:52, Thomas Cheng <guolin.ch...@gmail.com> wrote: > Hi all, > > Are there any options to attach multpile disks to Google compute images? > Both at image creation time (with packer), and instance creation time, > similar to the options for Amazon AWS: ami_block_device_mappings, and > launch_block_device_mappings? > > Thanks a lot. > > -- > 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 packer-tool+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/736d37c9-c9e6-4364-9892-286502c60cb9%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/736d37c9-c9e6-4364-9892-286502c60cb9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt8tjQufL%2BcnXzUJVj7ep%2Bhk1JwSd3uoy8FZw5c8VW7UPw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.