Class: PackerFiles::Ubuntu::CD
- Inherits:
-
Core::CDImageImpl
- Object
- Core::CDImageImpl
- PackerFiles::Ubuntu::CD
- Defined in:
- lib/PackerFiles/OS/Ubuntu/CD.rb
Direct Known Subclasses
Constant Summary collapse
- @@index =
Index URL which contains all the Ubuntu CD Mirror list
'https://launchpad.net/ubuntu/+cdmirrors'
Instance Method Summary collapse
-
#get_check_sum_pattern ⇒ Object
Override method for getting checksums.
-
#get_check_sum_type ⇒ Object
Override method for checksum type.
-
#get_iso_name_pattern ⇒ Object
Override method for getting the ISO name.
-
#index_urls ⇒ Object
Override method for getting index URLs.
Methods inherited from Core::CDImageImpl
Instance Method Details
#get_check_sum_pattern ⇒ Object
Override method for getting checksums
21 22 23 |
# File 'lib/PackerFiles/OS/Ubuntu/CD.rb', line 21 def get_check_sum_pattern 'MD5SUMS' end |
#get_check_sum_type ⇒ Object
Override method for checksum type
26 27 28 |
# File 'lib/PackerFiles/OS/Ubuntu/CD.rb', line 26 def get_check_sum_type 'md5' end |
#get_iso_name_pattern ⇒ Object
Override method for getting the ISO name
16 17 18 |
# File 'lib/PackerFiles/OS/Ubuntu/CD.rb', line 16 def get_iso_name_pattern 'ubuntu-@release@-server-@[email protected]' end |
#index_urls ⇒ Object
Override method for getting index URLs. The Master index URLs are always checked first.
32 33 34 |
# File 'lib/PackerFiles/OS/Ubuntu/CD.rb', line 32 def index_urls master_index_urls + mirror_index_urls end |