From 5b3a2ba0cf50b65d45381b48cc5548c045a0a6cc Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Fri, 22 Sep 2017 14:03:55 -0500 Subject: [PATCH] image: Increase image size. 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 --- README.md | 2 +- scripts/image_builder.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aaa0492..79383be 100644 --- a/README.md +++ b/README.md @@ -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`). diff --git a/scripts/image_builder.sh b/scripts/image_builder.sh index 540fde8..6167ec2 100755 --- a/scripts/image_builder.sh +++ b/scripts/image_builder.sh @@ -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