diff --git a/hooks/post/10-post_install.rb b/hooks/post/10-post_install.rb index e26c2c38..b5de3882 100644 --- a/hooks/post/10-post_install.rb +++ b/hooks/post/10-post_install.rb @@ -19,7 +19,7 @@ def new_install? if [0,2].include?(@kafo.exit_code) if !app_value(:upgrade) - fqdn = Facter.value(:fqdn) + fqdn = @kafo.param('capsule_certs','parent_fqdn').value || Facter.value(:fqdn) say " <%= color('Success!', :good) %>"