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 76
76:     def redirect(destination)
77:       BoxGrinder::SilencerProxy.new(self, destination)
78:     end

[Source]

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

[Source]

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

[Source]

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

Alias for sh

[Validate]