Skip to content

Commit

Permalink
SystemRescueCD: rootpass+nofirewall
Browse files Browse the repository at this point in the history
In System Rescue CD, when enabling the rootpass option the firewall will be disabled to enable SSH access.
  • Loading branch information
lars18th authored Jul 19, 2024
1 parent 5a09937 commit b5ab0cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/netbootxyz/templates/menu/systemrescue.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ item --gap ${os} Versions
iseq ${os_arch} {{ value.arch }} && item {{ value.version }}_${os_arch} ${space} ${os} {{ value.version }} ||
{% endif %}
{% endfor %}
item rootpass_mac Enable rootpass=${rootpass} [ enabled: ${rootpass_enabled} ]
item rootpass_mac Enable rootpass=${rootpass} [IP:${ip}] [ enabled: ${rootpass_enabled} ]
choose live_version || goto live_exit
goto ${live_version}

Expand All @@ -32,7 +32,7 @@ goto boot

:rootpass_mac
clear params
iseq ${rootpass_enabled} true && set rootpass_enabled false || set rootpass_enabled true && set params rootpass=${rootpass}
iseq ${rootpass_enabled} true && set rootpass_enabled false || set rootpass_enabled true && set params rootpass=${rootpass} nofirewall
goto live_menu

:boot
Expand Down

0 comments on commit b5ab0cf

Please sign in to comment.