diff options
| author | Remco van 't Veer <remco@remworks.net> | 2025-10-08 12:32:11 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-10-14 16:35:55 +0200 |
| commit | f1f9849c01af0056519d8899e35b570273e63529 (patch) | |
| tree | 4103bdbb51f14368d8fc0df94c9d40c6dd88187f /gnu | |
| parent | 1bc8cd4a0cbdb99cfc44ede99abbd5c6b4bcaf14 (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/machine/hetzner.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/machine/hetzner.scm b/gnu/machine/hetzner.scm index 53404255b3e..2702c2ee673 100644 --- a/gnu/machine/hetzner.scm +++ b/gnu/machine/hetzner.scm | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2024 Roman Scherer <roman@burningswell.com> | 2 | ;;; Copyright © 2024 Roman Scherer <roman@burningswell.com> |
| 3 | ;;; Copyright © 2025 Owen T. Heisler <writer@owenh.net> | 3 | ;;; Copyright © 2025 Owen T. Heisler <writer@owenh.net> |
| 4 | ;;; Copyright © 2025 Remco van 't Veer <remco@remworks.net> | ||
| 4 | ;;; | 5 | ;;; |
| 5 | ;;; This file is part of GNU Guix. | 6 | ;;; This file is part of GNU Guix. |
| 6 | ;;; | 7 | ;;; |
| @@ -590,7 +591,12 @@ mkdir -p /mnt/tmp/gnu/store | |||
| 590 | mkdir -p /gnu/store | 591 | mkdir -p /gnu/store |
| 591 | mount --bind /mnt/tmp/gnu/store /gnu/store | 592 | mount --bind /mnt/tmp/gnu/store /gnu/store |
| 592 | 593 | ||
| 593 | apt-get install guix --assume-yes | 594 | wget -O /tmp/guix-install.sh https://guix.gnu.org/guix-install.sh |
| 595 | chmod +x /tmp/guix-install.sh | ||
| 596 | set +o pipefail # avoid hangup on 'yes' killing this script | ||
| 597 | yes '' | /tmp/guix-install.sh | ||
| 598 | set -o pipefail | ||
| 599 | |||
| 594 | cat > /tmp/guix/deploy/hetzner-os.scm << EOF | 600 | cat > /tmp/guix/deploy/hetzner-os.scm << EOF |
| 595 | (use-modules (gnu) (guix utils)) | 601 | (use-modules (gnu) (guix utils)) |
| 596 | (use-package-modules ssh) | 602 | (use-package-modules ssh) |
