Sha256: 58d4ac7ef405fde3ee4a765c7b3df9b92293cb01cb8ad03e4ec09823cbb1a55b

Contents?: true

Size: 254 Bytes

Versions: 5

Compression:

Stored size: 254 Bytes

Contents

module UnattendedHelper
  include Foreman::Renderer

  def ks_console
    (@port and @baud) ? "console=ttyS#{@port},#{@baud}": ""
  end

  def grub_pass
    @grub ? "--md5pass=#{@host.root_pass}": ""
  end

  def root_pass
    @host.root_pass
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/helpers/unattended_helper.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/helpers/unattended_helper.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/helpers/unattended_helper.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/helpers/unattended_helper.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/helpers/unattended_helper.rb