Sha256: 19a30e2d6e4de6ab1fce959656ab9862455f1d74ae638a1a55f5a80ca637ef57

Contents?: true

Size: 381 Bytes

Versions: 25

Compression:

Stored size: 381 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 15.04 15.10 16.04]
  end

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
vagrant-pe_build-0.18.2 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.18.1 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.18.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.14 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.13 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.12 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.11 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.10 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.9 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.8 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.7 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.6 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.5 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.4 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.3 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.2 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.1 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.17.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.16.0 lib/pe_build/cap/detect_installer/ubuntu.rb
vagrant-pe_build-0.15.6 lib/pe_build/cap/detect_installer/ubuntu.rb