From 2b1abe49779ba84733de32217db4de84b2a1d018 Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Wed, 14 Feb 2024 17:15:16 +0100 Subject: [PATCH] update router reboot label --- gso/workflows/router/create_router.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gso/workflows/router/create_router.py b/gso/workflows/router/create_router.py index c110c249..62836796 100644 --- a/gso/workflows/router/create_router.py +++ b/gso/workflows/router/create_router.py @@ -146,14 +146,18 @@ def verify_ipam_loopback(subscription: RouterProvisioning) -> State: @inputstep("Prompt to reboot", assignee=Assignee.SYSTEM) -def prompt_reboot_router() -> FormGenerator: +def prompt_reboot_router(subscription: RouterProvisioning) -> FormGenerator: """Wait for confirmation from an operator that the router has been rebooted.""" class RebootPrompt(FormPage): class Config: title = "Please reboot before continuing" - info_label: Label = "Reboot the router, and continue the workflow once this has been completed." # type: ignore[assignment] + info_label: Label = ( + f"Base config has been deployed. Please log in via the console using https://" # type: ignore[assignment] + f"{subscription.router.router_site.site_ts_address}.\n" + "Reboot the router, and once it is up again, press submit to continue the workflow." + ) yield RebootPrompt -- GitLab