Method: Unix::Host#external_copy_base
- Defined in:
- lib/beaker/host/unix.rb
#external_copy_base ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'lib/beaker/host/unix.rb', line 37 def external_copy_base return @external_copy_base if @external_copy_base @external_copy_base = '/root' variant, version, arch, codename = self['platform'].to_array # Solaris 10 uses / as the root user directory. Solaris 11 uses /root (like most). @external_copy_base = '/' if variant == 'solaris' && version == '10' @external_copy_base end |