Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gateway: increase image size in qemu dev test environment #52

Open
herzogf opened this issue Feb 7, 2020 · 0 comments
Open

gateway: increase image size in qemu dev test environment #52

herzogf opened this issue Feb 7, 2020 · 0 comments
Milestone

Comments

@herzogf
Copy link
Owner

herzogf commented Feb 7, 2020

#20 will probably add a cache for debian packages to the gateway thus the 2gb disk size / raspbian image size is not enough.
We need to resize the image and then call raspi-config to resize the partition.

# on the host
qemu-img resize raspbian_lite_latest.img +10G
# via ansible within the gateway
raspi-config --expand-rootfs

HINT: Increasing the raspbian*.img image size with qemu-img resize raspbian_lite_latest.img +10G consumes 10 additional gb of disk space on the host system which is really annoying. Perhaps we should convert the image from img to qcow2 format which does not reserve space on the host if the disk/image space is not used.

@herzogf herzogf added this to the 0.1 - MVP milestone Feb 7, 2020
@herzogf herzogf removed this from the 0.1 - MVP milestone Feb 11, 2020
@herzogf herzogf added this to the 0.1 - MVP milestone Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant