mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
machine: hetzner: Fix install OS.
Debian no longer ships guix package. * gnu/machine/hetzner.scm (hetzner-machine-rescue-install-os): Use guix-install.sh. Change-Id: I8344d5877057181235c233d9f6f745507af30b85 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
1bc8cd4a0c
commit
f1f9849c01
1 changed files with 7 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
|
||||
;;; Copyright © 2025 Owen T. Heisler <writer@owenh.net>
|
||||
;;; Copyright © 2025 Remco van 't Veer <remco@remworks.net>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
|
@ -590,7 +591,12 @@ mkdir -p /mnt/tmp/gnu/store
|
|||
mkdir -p /gnu/store
|
||||
mount --bind /mnt/tmp/gnu/store /gnu/store
|
||||
|
||||
apt-get install guix --assume-yes
|
||||
wget -O /tmp/guix-install.sh https://guix.gnu.org/guix-install.sh
|
||||
chmod +x /tmp/guix-install.sh
|
||||
set +o pipefail # avoid hangup on 'yes' killing this script
|
||||
yes '' | /tmp/guix-install.sh
|
||||
set -o pipefail
|
||||
|
||||
cat > /tmp/guix/deploy/hetzner-os.scm << EOF
|
||||
(use-modules (gnu) (guix utils))
|
||||
(use-package-modules ssh)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue