Preseed: mount the virt LV for Docker

This commit is contained in:
Jeremy Gardais 2019-03-05 18:48:15 +01:00
parent 17353bfbfa
commit 6fb36e2159
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 4 additions and 5 deletions

View File

@ -198,12 +198,11 @@ d-i partman-auto/expert_recipe string \
mountpoint{ / } \
. \
10000 50000 20000 ext4 \
$lvmok{ } lv_name{ lv_virt } \
in_vg { sys } \
$primary{ } \
$lvmok{ } lv_name{ lv_docker } \
in_vg { srog } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /mnt/virt } \
mountpoint{ /var/lib/docker } \
. \
50% 2000 75% linux-swap \
$lvmok{ } lv_name{ lv_swap } \

View File

@ -1,7 +1,7 @@
#!/bin/sh
GRUB_DEFAULT_PATH='/etc/default/grub'
WIN_GRUB="2"
WIN_GRUB="3"
if grep -q -E -- "^GRUB_DEFAULT=saved" "${GRUB_DEFAULT_PATH}"
then