Skip to content

Commit

Permalink
Hide the abort button when client is called from proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed Apr 7, 2021
1 parent 911ff94 commit c133167
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/network/clients/network_proposal.rb
Expand Up @@ -138,7 +138,10 @@ def switch_backend_link
def launch_network_configuration(args)
log.info "Launching network configuration"
Yast::Wizard.OpenAcceptDialog
result = Yast::WFM.CallFunction("inst_lan", [args.merge("skip_detection" => true)])
result = Yast::WFM.CallFunction(
"inst_lan",
[args.merge("skip_detection" => true, "hide_abort_button" => true)]
)
log.info "Returning from the network configuration with: #{result}"
result
ensure
Expand Down

0 comments on commit c133167

Please sign in to comment.