Sha256: 4807eea3634b9b25efc6372dea00e1c14d32577c339de749783828be2644810f

Contents?: true

Size: 357 Bytes

Versions: 17

Compression:

Stored size: 357 Bytes

Contents

class PEBuild::Cap::DetectInstaller::Ubuntu < PEBuild::Cap::DetectInstaller::POSIX

  def name
    'ubuntu'
  end

  def release_file
    '/etc/issue'
  end

  def release_file_format
    %r[Ubuntu (\d{2}\.\d{2})]
  end

  def supported_releases
    %w[10.04 12.04]
  end

  def arch
    retval = super
    (retval == 'x86_64') ? 'amd64' : retval
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
vagrant-pe_build-0.8.7 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.8.6 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.8.5 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.8.4 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.8.3 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.8.2 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.8.1 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.8.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.7.1 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.7.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.6.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.5.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.4.3 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.4.2 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.4.1 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.4.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.3.0 lib/pe_build/cap/detect_installer/ubuntu.rb