mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
test-data: Replace deprecated luks_open with cryptsetup_open.
The two calls are identical, so this simply avoids a deprecation warning.
This commit is contained in:
@@ -195,7 +195,7 @@ EOF
|
||||
|
||||
# Put LUKS on the second partition.
|
||||
$g->luks_format ('/dev/sda2', 'FEDORA', 0);
|
||||
$g->luks_open ('/dev/sda2', 'FEDORA', 'luks');
|
||||
$g->cryptsetup_open ('/dev/sda2', 'FEDORA', 'luks');
|
||||
|
||||
init_lvm_root ('/dev/mapper/luks');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user