fix: scan new partitions

This commit is contained in:
xpetit 2021-03-03 07:48:11 +01:00
parent 524492d205
commit 115679182b
1 changed files with 1 additions and 0 deletions

View File

@ -396,6 +396,7 @@ if ! test -v PERSISTENT; then
sgdisk --change-name 5:01-tmp-system "$disk"
# Add Docker persistent partition
partprobe
mkfs.ext4 -E lazy_journal_init,lazy_itable_init=0 /dev/disk/by-partlabel/01-docker
echo 'PARTLABEL=01-docker /var/lib/docker ext4 noatime,errors=remount-ro 0 2' >> /etc/fstab
systemctl stop docker.service containerd.service