lib/getch/filesystem/ext4/encrypt/void.rb
# Key need to be added in dracut.conf.d and crypttab
Key need to be added in dracut.conf.d and crypttab
Key need to be added in dracut . conf . d and crypttab
def add_key(name, dev)
            command "dd bs=1 count=64 if=/dev/urandom of=/boot/#{name}"
            puts " => Creating a key for #{dev}, password required:"
            chroot "cryptsetup luksAddKey #{dev} /boot/#{name}"
            command "chmod 000 /boot/#{name}"
          end
def add_key ( name , dev ) command "dd bs=1 count=64 if=/dev/urandom of=/boot/#{name}" puts " => Creating a key for #{dev}, password required:" chroot "cryptsetup luksAddKey #{dev} /boot/#{name}" command "chmod 000 /boot/#{name}" end
Key need to be added in dracut.conf.d and crypttab
Key need to be added in dracut . conf . d and crypttab
#command "chmod -R g-rwx,o-rwx /boot"
name
<not_specific>
dev
<not_specific>