Class Guestfs::Guestfs
In: lib/boxgrinder-build/helpers/guestfs-helper.rb
lib/boxgrinder-build/helpers/guestfs-helper.rb
Parent: Object

Methods

redirect   redirect   sh   sh   sh_original  

External Aliases

sh -> sh_original

Public Instance methods

[Source]

    # File lib/boxgrinder-build/helpers/guestfs-helper.rb, line 80
80:     def redirect(destination)
81:       BoxGrinder::SilencerProxy.new(self, destination)
82:     end

[Source]

    # File lib/boxgrinder-build/helpers/guestfs-helper.rb, line 80
80:     def redirect(destination)
81:       BoxGrinder::SilencerProxy.new(self, destination)
82:     end

[Source]

    # File lib/boxgrinder-build/helpers/guestfs-helper.rb, line 68
68:     def sh(command)
69:       begin
70:         output = sh_original(command)
71:         puts output
72:       rescue => e
73:         puts "Error occurred while executing above command, aborting."
74:         raise e
75:       end
76: 
77:       output
78:     end

[Source]

    # File lib/boxgrinder-build/helpers/guestfs-helper.rb, line 68
68:     def sh(command)
69:       begin
70:         output = sh_original(command)
71:         puts output
72:       rescue => e
73:         puts "Error occurred while executing above command, aborting."
74:         raise e
75:       end
76: 
77:       output
78:     end
sh_original(command)

Alias for sh

[Validate]