Personally I'm used to the US keyboard, but Libre En Communs has other
sysadmins than me and they might want to use their preferred keyboard
layout instead.
This script has been tested on a Guix system installation.
Finding a way to launch the script at boot will be done later on.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
In Trisquel 11, we have Guix 1.3.0, and with that, guix pull fails.
I used the guix-install.sh script from Guix 1.4.0 and verified its
integrity through the Parabola PCR package for it.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Having several VM inside the same repository could help as some of the
fixes between the two repositories are extremely similar and could be
done in the same commit.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
By default only mcron is restarted. It was verified within the
guix-installer-vm that this change worked by looking at the pid of
guix-daemon, waiting for an automatic update to happen and looking at
the (new) pid of guix-daemon.
The mumble-server and nginx daemons were not added to the list because
we don't have the audio.experimental.a-lec.org domain setup yet in the
Libre en Communs DNS.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
The tarball can be copied to the VM through the serial port with the
following command:
# cat > mumble-vm.tar.xz.b64
the user then pastes the base64 content and types ctrl+d and this
results in the file being written.
The content can then be extracted with the following commands:
# base64 -d mumble-vm.tar.xz.b64 > mumble-vm.tar.xz
# tar xf mumble-vm.tar.xz
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Running dhclient on eth0 gives a /16, and this is necessary anyway to
reach the gateway.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
We at least need nss-certs for running guix system reconfigure
manually, so it's a good idea to have it.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
According to the operating-system-file fileld of
unattended-upgrade-configuration in the manual, automatic updates
don't work when "/run/current-system/configuration.scm [...] refers to
extra files (SSH public keys, extra configuration files, etc.) via
local-file and similar constructs.".
So we need these files in the store and to point to them to make the
automatic updates work.
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>
By default only mcron is restarted. It was verified that it worked by
looking at the pid of guix-daemon, waiting for an automatic update to
happen and looking at the (new) pid of guix-daemon.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
While the README already has the license for everything, this
simplifies things when copying this file to another repository.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
While the README already has the license for everything, this
simplifies things when copying this file to another repository.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Without that fix the network didn't completely start, and because of
that the network was partially configured.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
The tarball can be copied to the VM through the serial port with the
following command:
# cat > guix-installer-vm.tar.xz.b64
the user then pastes the base64 content and types ctrl+d and this
results in the file being written.
The content can then be extracted with the following commands:
# base64 -d guix-installer-vm.tar.xz.b64 > guix-installer-vm.tar.xz
# tar xf guix-installer-vm.tar.xz
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Running dhclient on eth0 gives a /16, and this is necessary anyway to
reach the gateway.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
According to the operating-system-file fileld of
unattended-upgrade-configuration in the manual, automatic updates
don't work when "/run/current-system/configuration.scm [...] refers to
extra files (SSH public keys, extra configuration files, etc.) via
local-file and similar constructs.".
So we need these files in the store and to point to them to make the
automatic updates work.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Without that fix, running first-boot.sh ends up with the following error:
/run/current-system/profile/bin/first-boot.sh: line 28:
partprobe: command not found
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
We at least need nss-certs for running guix system reconfigure
manually, so it's a good idea to have it.
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>