class ImageBuilder::Builders::AWS::Chroot
Generic class doc comment
Attributes
chroot_mounts[RW]
command_wrapper[RW]
copy_files[RW]
device_path[RW]
mount_path[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
ImageBuilder::Builders::AWS::Base::new
# File lib/image_builder/builders/aws_chroot.rb, line 14 def initialize super @type = 'amazon-chroot' end
Public Instance Methods
packer_hash()
click to toggle source
Calls superclass method
ImageBuilder::Builders::AWS::Base#packer_hash
# File lib/image_builder/builders/aws_chroot.rb, line 19 def packer_hash hash = super attr_to_hash(hash, :chroot_mounts) attr_to_hash(hash, :command_wrapper) attr_to_hash(hash, :copy_files) attr_to_hash(hash, :device_path) attr_to_hash(hash, :mount_path) hash end