nanovms / ops

ops - build and run nanos unikernels
https://ops.city
MIT License
1.27k stars 132 forks source link

AWS createSnapshot(): fix setting of snapshot volume size #1450

Closed francescolavra closed 1 year ago

francescolavra commented 1 year ago

When creating a snapshot for an AWS image, the size of the snapshot volume is currently hardcoded to 1 GB; instead, it should reflect the actual size of the image being created, otherwise creation of images larger than 1 GB fails with error "Block index NNNN is beyond the volume size extent".