Class: PackerFiles::Core::CDImageImpl
- Inherits:
-
Object
- Object
- PackerFiles::Core::CDImageImpl
- Defined in:
- lib/PackerFiles/Core/CDImage.rb
Overview
Base class for CDImage implmentation
Direct Known Subclasses
PackerFiles::CentOS::CD, Debian::CD, Fedora::CD, RHEL::CD, Ubuntu::CD
Instance Method Summary collapse
-
#get_check_sum_pattern ⇒ Object
Return back the Checksum File Pattern (It can be a regex pattern).
-
#get_check_sum_type ⇒ Object
Return back the Checksum File Pattern (It can be a regex pattern).
-
#get_index_urls ⇒ Object
Return the list of index URLs.
-
#get_iso_name_pattern ⇒ Object
Return back the ISO name (It can be a regex pattern).
Instance Method Details
#get_check_sum_pattern ⇒ Object
Return back the Checksum File Pattern (It can be a regex pattern)
21 22 23 |
# File 'lib/PackerFiles/Core/CDImage.rb', line 21 def get_check_sum_pattern 'MD5SUM' end |
#get_check_sum_type ⇒ Object
Return back the Checksum File Pattern (It can be a regex pattern)
26 27 28 |
# File 'lib/PackerFiles/Core/CDImage.rb', line 26 def get_check_sum_type 'md5' end |
#get_index_urls ⇒ Object
Return the list of index URLs.
31 32 33 |
# File 'lib/PackerFiles/Core/CDImage.rb', line 31 def get_index_urls [] end |
#get_iso_name_pattern ⇒ Object
Return back the ISO name (It can be a regex pattern)
16 17 18 |
# File 'lib/PackerFiles/Core/CDImage.rb', line 16 def get_iso_name_pattern '.*' end |