lib/cryptsetup.rb
# Alrealy used key if they have same disk
Alrealy used key if they have same disk
Alrealy used key if they have same disk
def add_root_key
    return if @boot.split(/[0-9]/) == @root.split(/[0-9]/)
    luks = Luks::Root.new(@root, @options)
    luks.external_key
  end
def add_root_key return if @boot . split ( / [0-9] / ) == @root . split ( / [0-9] / ) luks = Luks :: Root . new ( @root , @options ) luks . external_key end
Alrealy used key if they have same disk
Alrealy used key if they have same disk