Class: BoxGrinder::ScientificLinuxPlugin
- Inherits:
-
RHELPlugin
- Object
- BasePlugin
- RPMBasedOSPlugin
- RHELPlugin
- BoxGrinder::ScientificLinuxPlugin
- Defined in:
- lib/boxgrinder-build/plugins/os/sl/sl-plugin.rb
Constant Summary collapse
- SL_REPOS =
{ "5" => { "base" => { "baseurl" => "http://ftp.scientificlinux.org/linux/scientific/#OS_VERSION#x/#BASE_ARCH#/SL/" }, "security" => { "baseurl" => "http://ftp.scientificlinux.org/linux/scientific/#OS_VERSION#x/#BASE_ARCH#/updates/security/" } }, "6" => { "base" => { "baseurl" => "http://ftp.scientificlinux.org/linux/scientific/#OS_VERSION#x/#BASE_ARCH#/os/" }, "security" => { "baseurl" => "http://ftp.scientificlinux.org/linux/scientific/#OS_VERSION#x/#BASE_ARCH#/updates/security/" } } }
Instance Attribute Summary
Attributes inherited from BasePlugin
Instance Method Summary collapse
Methods inherited from RHELPlugin
#add_packages, #build_rhel, #normalize_packages
Methods inherited from RPMBasedOSPlugin
#add_repos, #apply_root_password, #build_with_appliance_creator, #change_configuration, #cleanup_after_appliance_creator, #disable_firewall, #execute_appliance_creator, #execute_post, #install_files, #install_repos, #recreate_kernel_image, #recreate_rpm_database, #set_label_for_swap_partitions, #set_motd, #substitute_vars, #use_labels_for_partitions
Methods inherited from BasePlugin
#current_platform, #deliverables_exists?, #init, #initialize, #is_supported_os?, #is_supported_platform?, #merge_plugin_config, #read_plugin_config, #register_deliverable, #register_supported_os, #register_supported_platform, #run, #set_default_config_value, #subtype, #supported_oses, #validate_plugin_config
Methods included from Plugins
Constructor Details
This class inherits a constructor from BoxGrinder::BasePlugin
Instance Method Details
#after_init ⇒ Object
44 45 46 47 |
# File 'lib/boxgrinder-build/plugins/os/sl/sl-plugin.rb', line 44 def after_init super register_supported_os('sl', ['5', '6']) end |
#execute(appliance_definition_file) ⇒ Object
49 50 51 |
# File 'lib/boxgrinder-build/plugins/os/sl/sl-plugin.rb', line 49 def execute(appliance_definition_file) build_rhel(appliance_definition_file, SL_REPOS) end |