diff options
Diffstat (limited to 'gnu/machine')
| -rw-r--r-- | gnu/machine/ssh.scm | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/gnu/machine/ssh.scm b/gnu/machine/ssh.scm index b5984dc7322..b47ce7c2252 100644 --- a/gnu/machine/ssh.scm +++ b/gnu/machine/ssh.scm | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2 | ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org> |
| 3 | ;;; Copyright © 2020-2023 Ludovic Courtès <ludo@gnu.org> | 3 | ;;; Copyright © 2020-2023 Ludovic Courtès <ludo@gnu.org> |
| 4 | ;;; Copyright © 2024 Ricardo <rekado@elephly.net> | ||
| 4 | ;;; | 5 | ;;; |
| 5 | ;;; This file is part of GNU Guix. | 6 | ;;; This file is part of GNU Guix. |
| 6 | ;;; | 7 | ;;; |
| @@ -537,22 +538,24 @@ failed to switch systems while deploying '~a':~%~{~s ~}") | |||
| 537 | host | 538 | host |
| 538 | (inferior-exception-arguments c)))) | 539 | (inferior-exception-arguments c)))) |
| 539 | os)) | 540 | os)) |
| 540 | (with-roll-back #t | 541 | (parameterize ((%current-system system) |
| 541 | (mbegin %store-monad | 542 | (%current-target-system #f)) |
| 542 | (upgrade-shepherd-services (eval/error-handling c | 543 | (with-roll-back #t |
| 543 | (warning (G_ "\ | 544 | (mbegin %store-monad |
| 545 | (upgrade-shepherd-services (eval/error-handling c | ||
| 546 | (warning (G_ "\ | ||
| 544 | an error occurred while upgrading services on '~a':~%~{~s ~}~%") | 547 | an error occurred while upgrading services on '~a':~%~{~s ~}~%") |
| 545 | host | 548 | host |
| 546 | (inferior-exception-arguments | 549 | (inferior-exception-arguments |
| 547 | c))) | 550 | c))) |
| 548 | os) | 551 | os) |
| 549 | (install-bootloader (eval/error-handling c | 552 | (install-bootloader (eval/error-handling c |
| 550 | (raise (formatted-message | 553 | (raise (formatted-message |
| 551 | (G_ "\ | 554 | (G_ "\ |
| 552 | failed to install bootloader on '~a':~%~{~s ~}~%") | 555 | failed to install bootloader on '~a':~%~{~s ~}~%") |
| 553 | host | 556 | host |
| 554 | (inferior-exception-arguments c)))) | 557 | (inferior-exception-arguments c)))) |
| 555 | bootloader-configuration bootcfg)))))))) | 558 | bootloader-configuration bootcfg))))))))) |
| 556 | 559 | ||
| 557 | 560 | ||
| 558 | ;;; | 561 | ;;; |
