Skip to content

Commit

Permalink
Added /var/cache/libvirt/qemu to tmpfs
Browse files Browse the repository at this point in the history
This will avoid to fill the dm-snapshot when dealing with screenshots
  • Loading branch information
CyrilPeponnet committed Apr 16, 2015
1 parent 260a954 commit a0f78eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipe/archipel-post.ks
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ echo "[ARCHIPEL] Creating the /vm and /stateless folders"
mkdir -p /vm
mkdir -p /stateless

echo "[ARCHIPEL] Put /var/cache/libvirt/qemu folder in tmpfs"
echo "tmpfs /var/cache/libvirt/qemu tmpfs defaults 0 0" >> /etc/fstab

echo "[ARCHIPEL] Updating the archipel config file to be in stateless mode"
cat > /etc/archipel/archipel.conf <<EOF_archipelconf
[GLOBAL]
Expand Down

0 comments on commit a0f78eb

Please sign in to comment.