mirage / qubes-mirage-firewall

A Mirage firewall VM for QubesOS
BSD 2-Clause "Simplified" License
211 stars 28 forks source link

Note that AppVM Size may need to increase #83

Closed marmot1791 closed 4 years ago

marmot1791 commented 5 years ago

Add note that AppVM used to build from source may need a private image larger than the default 2048MB.

talex5 commented 5 years ago

2GB used to be enough, but I just tried it on a Fedora 30 template and it does indeed fail now:

[ERROR] Could not update repository "default": "/bin/cp -PRp /home/opam/opam-repository /home/opam/.opam/repo/default.new" exited with code 1
The command '/bin/sh -c cd ~/opam-repository && git fetch origin master && git reset --hard 5eed470abc5c7991e448c9653698c03d6ea146d1 && opam update' returned a non-zero code: 40

Looks like it's actually out of inodes rather than space (see df -hi), but increasing the space does fix it.

The instructions should say how much space will be needed. Maybe something like this?

Create a new Fedora-30 AppVM (or reuse an existing one). In the Qube's Settings (Basic / Disk storage), increase the private storage from the default 2048 MiB to 4096 MiB. Open a terminal.

marmot1791 commented 4 years ago

Updated per your comment.

talex5 commented 4 years ago

Thanks!