Remove fstab from deployment

This commit is contained in:
Alexandre CATTEAU 2024-10-26 19:39:17 +02:00
parent e12a9536d9
commit 4c5b901df3

View File

@ -32,7 +32,6 @@ if [[ $nspawn -eq 1 ]]; then
echo "WARNING: Mind that containers will not be stopped or started, neither will subvolumes be mounted or unmounted."
$sudo rm /etc/systemd/nspawn/*
$sudo cp $run_directory/nspawn/*.nspawn /etc/systemd/nspawn/
$sudo cp $run_directory/nspawn/fstab /etc/fstab
fi
echo "Reloading Systemd..."