Class: Lvm2::Hybrid
Overview
Configure hybrid system (encrypt + lvm)
Instance Method Summary collapse
-
#initialize(devs, options) ⇒ Hybrid
constructor
A new instance of Hybrid.
- #load_datas ⇒ Object
Methods inherited from Root
Constructor Details
#initialize(devs, options) ⇒ Hybrid
Returns a new instance of Hybrid.
106 107 108 109 |
# File 'lib/lvm2.rb', line 106 def initialize(devs, ) super @luks = [:luks_name] end |
Instance Method Details
#load_datas ⇒ Object
111 112 113 114 115 |
# File 'lib/lvm2.rb', line 111 def load_datas @path_root = "/dev/mapper/root-#{@luks}" @path_cache = "/dev/mapper/cache-#{@luks}" @path_home = "/dev/mapper/home-#{@luks}" end |