dépôts
/
lhc
/
ateliers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86b63d9
)
Correction : vm_host : rule_part_root_format : cryptsetup : on n'utilise plus --key...
author
Julien Moutinho
<julm+burette@autogeree.net>
Fri, 1 Mar 2013 13:55:40 +0000
(14:55 +0100)
committer
Julien Moutinho
<julm+burette@autogeree.net>
Tue, 19 Mar 2013 09:42:04 +0000
(10:42 +0100)
vm_host
patch
|
blob
|
history
diff --git
a/vm_host
b/vm_host
index
7c521e4
..
4ad1c38
100755
(executable)
--- a/
vm_host
+++ b/
vm_host
@@
-248,8
+248,8
@@
rule_part_root_format () {
if ! mount | grep -q "^$vm_dev_disk_root "
then
sudo cryptsetup luksFormat --hash=sha512 --key-size=512 \
if ! mount | grep -q "^$vm_dev_disk_root "
then
sudo cryptsetup luksFormat --hash=sha512 --key-size=512 \
- --cipher=aes-xts-essiv:sha256 --
key-file=- --
align-payload=8 $vm_dev_disk_root
- sudo cryptsetup luksOpen
--key-file=-
$vm_dev_disk_root ${vm_lvm_lv}_root_deciphered
+ --cipher=aes-xts-essiv:sha256 --align-payload=8 $vm_dev_disk_root
+ sudo cryptsetup luksOpen $vm_dev_disk_root ${vm_lvm_lv}_root_deciphered
sudo mke2fs -t ext4 -c -c -m 5 -T ext4 -b $vm_e2fs_block_size \
-E resize=30G${vm_e2fs_extended_options} \
-L ${vm_lvm_lv}_root \
sudo mke2fs -t ext4 -c -c -m 5 -T ext4 -b $vm_e2fs_block_size \
-E resize=30G${vm_e2fs_extended_options} \
-L ${vm_lvm_lv}_root \