Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion roles/netbootxyz/templates/menu/talos.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ iseq ${os_arch} arm64 && set os_arch arm64 ||
isset ${talos_version} || set talos_version latest
isset ${talos_mirror} || set talos_mirror {{ releases.talos.mirror }}
isset ${talos_platform} || set talos_platform metal
isset ${install_timeout} || set install_timeout 60000

Copilot AI Dec 18, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable name install_timeout is too generic and could conflict with other menu contexts. Consider using a more specific name like talos_timeout or talos_menu_timeout to follow the pattern established by other Talos-specific variables like talos_version, talos_mirror, and talos_platform.

Copilot uses AI. Check for mistakes.
menu ${os} by Talos Systems
menu ${os} install
item --gap Talos:
Expand All @@ -23,7 +24,7 @@ item talos_version ${space} ${os} version: ${talos_version}
item talos_config_url ${space} Set userdata.yaml URL: ${talos_config_url}
item talos_mirror ${space} Set mirror URL: ${talos_mirror}
item talos_platform ${space} Set platform: ${talos_platform}
choose --default ${menu} menu || goto talos_exit
choose --timeout ${install_timeout} --default ${menu} menu || goto talos_exit
echo ${cls}
goto ${menu} ||
goto talos_exit
Expand Down