Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
image: Increase image size.
Browse files Browse the repository at this point in the history
The default image size is very small leting the agent to
do some operations in storage.

Increase to allow the agent run.

Fixes: #27

Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
  • Loading branch information
jcvenegas committed Sep 25, 2017
1 parent 5850e8d commit 5b3a2ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ However, it is still possible to [run the scripts using docker](#Using-osbuilder
## Environment Variables

* `EXTRA_PKGS`: The list of extra packages to install separated by spaces, for example "`a b c`". By default this values is empty.
* `IMG_SIZE`: Image size. By default this value is `50M`.
* `IMG_SIZE`: Image size. By default this value is `80M`.
* `REPO_URL`: The repository URL. By default this value is `https://download.clearlinux.org/current/x86_64/os/`.
* `USE_DOCKER`: If set, perform all build steps inside a docker container.
* `WORKDIR`: Specify an alternative directory under which files will be generated (default `./workdir`).
Expand Down
2 changes: 1 addition & 1 deletion scripts/image_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ exit 1
# Image file to be created:
IMAGE="container.img"
# Image contents source folder
IMG_SIZE=${IMG_SIZE:-50M}
IMG_SIZE=${IMG_SIZE:-80M}
BLOCK_SIZE=${BLOCK_SIZE:-4096}

#Create image file
Expand Down

0 comments on commit 5b3a2ba

Please sign in to comment.