distro: add custom image size
When creating a pipeline the assembler includes an image size. This image size can be set when creating the pipeline but if it is 0 then a default image size will be used. The default is 2 GB except for ami images which are 6 GB.
This commit is contained in:
parent
481c1dd048
commit
a86e697171
27 changed files with 113 additions and 62 deletions
|
|
@ -463,7 +463,7 @@ func (s *Store) PushCompose(composeID uuid.UUID, bp *blueprint.Blueprint, checks
|
|||
repos = append(repos, source.RepoConfig())
|
||||
}
|
||||
|
||||
pipeline, err := s.distro.Pipeline(bp, repos, checksums, arch, composeType)
|
||||
pipeline, err := s.distro.Pipeline(bp, repos, checksums, arch, composeType, 0)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue