Skip to content

Commit

Permalink
Update LightningInABox.md
Browse files Browse the repository at this point in the history
  • Loading branch information
normandmickey authored and dennisreimann committed Mar 27, 2024
1 parent 2436a71 commit 8efaaa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Deployment/LightningInABox.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ fdisk /dev/sda
# type 'n' to create a new partition
# type 'w' to write the new partition table and exit fdisk
mkfs.ext4 /dev/sda1
mkdir /mnt/docker
mkdir /mnt/usb
UUID="$(sudo blkid -s UUID -o value /dev/sda1)"
echo "UUID=$UUID /mnt/docker ext4 defaults,noatime,nofail 0 0" | sudo tee -a /etc/fstab
echo "UUID=$UUID /mnt/usb ext4 defaults,noatime,nofail 0 0" | sudo tee -a /etc/fstab
mount -a
```

Expand All @@ -138,7 +138,7 @@ mount -a
```bash
rm -rf /var/lib/docker
mkdir -p /var/lib/docker
mount --bind /mnt/docker /var/lib/docker
mount --bind /mnt/usb /var/lib/docker
echo "/mnt/docker /var/lib/docker none bind,nobootwait 0 2" >> /etc/fstab
systemctl restart docker
```
Expand Down

0 comments on commit 8efaaa1

Please sign in to comment.