Class: Dracut::Encrypt
Overview
configure dracut for encypted system
Direct Known Subclasses
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(devs, options) ⇒ Encrypt
constructor
A new instance of Encrypt.
Methods included from NiTo
cp, echo, echo_a, grep?, mkdir, mount, mount?, mv, rm, search_proc_swaps, sed, sh, swapoff, swapoff_dm, touch, umount
Constructor Details
#initialize(devs, options) ⇒ Encrypt
Returns a new instance of Encrypt.
6 7 8 9 |
# File 'lib/dracut/encrypt.rb', line 6 def initialize(devs, ) @luks = [:luks_name] super end |
Instance Method Details
#generate ⇒ Object
11 12 13 14 15 |
# File 'lib/dracut/encrypt.rb', line 11 def generate host_only cmdline luks_key end |