Skip to content
Snippets Groups Projects
Verified Commit 2b1abe49 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

update router reboot label

parent 476515df
No related branches found
No related tags found
1 merge request!162Feature/update router create workflow
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment