Skip to content

Commit

Permalink
use the custom URL also in upgrade (bnc#894592)
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Sep 4, 2014
1 parent eb4bb64 commit 6827d69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/registration/url_helpers.rb
Expand Up @@ -125,6 +125,9 @@ def self.reg_url_at_installation

# get registration URL in upgrade mode
def self.reg_url_at_upgrade
custom_url = ::Registration::Storage::InstallationOptions.instance.custom_url
return custom_url if custom_url && !custom_url.empty?

# boot command line if present
boot_url = boot_reg_url
return boot_url if boot_url
Expand Down

0 comments on commit 6827d69

Please sign in to comment.