Sha256: 4f01e7cd254a446b63b7e827e5086d8fef6416f1510a9e3bf3d59ee1092e05f7

Contents?: true

Size: 363 Bytes

Versions: 24

Compression:

Stored size: 363 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 14.04]
  end

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
vagrant-pe_build-0.13.7 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.13.6 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.13.5 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.13.4 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.13.3 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.13.2 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.13.1 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.13.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.12.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.11.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.10.4 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.10.3 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.10.2 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.10.1 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.10.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.9.7 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.9.6 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.9.5 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.9.4 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.9.3 lib/pe_build/cap/detect_installer/ubuntu.rb