Skip to content

Commit

Permalink
ptxdist: use overlay instead of overlayfs in mount call
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Göhrs <[email protected]>
  • Loading branch information
hnez committed Nov 19, 2024
1 parent 2f8b8e0 commit 15dbc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptxdist/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cat "$selfdir/ssh_config" >> ~/.ssh/config
# The cache is however readonly. Use an overlayfs to make it writable.
sudo mkdir -p /srv/cache /srv/cache-ro /srv/cache-overlay /srv/cache-work
echo "cache /srv/cache-ro 9p defaults,nofail,ro 0 0" | sudo tee -a /etc/fstab
echo "overlayfs /srv/cache overlayfs defaults,lowerdir=/srv/cache-ro,upperdir=/srv/cache-overlay,workdir=/srv/cache-work,nofail,x-systemd.requires=srv-cache\x2dro.mount 0 0" | sudo tee -a /etc/fstab
echo "overlay /srv/cache overlay defaults,lowerdir=/srv/cache-ro,upperdir=/srv/cache-overlay,workdir=/srv/cache-work,nofail,x-systemd.requires=srv-cache\x2dro.mount 0 0" | sudo tee -a /etc/fstab

prepare

Expand Down

0 comments on commit 15dbc15

Please sign in to comment.