mirror of https://github.com/01-edu/public.git
fix: scan new partitions
This commit is contained in:
parent
524492d205
commit
115679182b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue