Mount /tmp as tmpfs each time

Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
Major Hayden 2020-05-11 15:46:12 -05:00 committed by Major Hayden
parent 1bccedf480
commit 3a961da7a5

View file

@ -8,6 +8,10 @@ sudo chmod -R 777 /opt/ansible_{local,remote}
# Remove Fedora modular repositories to speed up dnf-json.
sudo rm -rfv /etc/yum.repos.d/fedora*modular*
# Ensure /tmp is mounted on tmpfs.
sudo systemctl enable tmp.mount || \
sudo systemctl unmask tmp.mount && sudo systemctl start tmp.mount
# Restart systemd to work around some Fedora issues in cloud images.
sudo systemctl restart systemd-journald