With 4GiB guix pull fails. With 8GiB 'df -h /' returns the following:
none 3.9G 1.6G 2.4G 40% /
so if we don't change the ramfs mount options it is pretty clear that
4GiB is not enough.
The issue here is that we are trying to do an install with the
following constraints:
- It needs to work without external access to the underlying
storage. For instance I cannot become root and simply copy the image
to the correct location and boot that because I lack the permissions
but also because the machine doesn't have Guix.
- I also want the target rootfs to be up to date (especially with
security updates) from the start.
- It needs to be relatively fast and not consume too much resources.
- It also needs to be relatively easy to deploy. Using the guix
installer to install Guix is the easiest as it works out of the box
with a read-only install media, but it also comes with resources
costs as the files being created end up in RAM.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
If we don't do that it can't work as the required code is not yet in
the main branch.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This script is supposed to only run on the Guix installer and checks
that it's the case through various ways.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This makes it easier to deploy the VM to the Libre En Communs
infrastructure as it doesn't require to also copy these files to the
VM producing the image.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Copying an image from Guix should not require sudo, and make isn't
supposed to bypass permissions anyway.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
The default DNS server address is supposed to be used by Libre En
Communs for the deployed VM.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
The default DNS server address is supposed to be used by Libre En
Communs for the deployed VM.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
The default gateway IP address is supposed to be used by Libre En
Communs for the deployed VM.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
The default gateway IP address is supposed to be used by Libre En
Communs for the deployed VM.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
The default IP address is supposed to be used by Libre En Communs for
the deployed VM.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
The default IP address is supposed to be used by Libre En Communs for
the deployed VM.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This project is under the GPLv3 and not AGPLv3 in order to be able
to share code back and forth with Guix.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>