diff --git a/dom0.sh b/dom0.sh index cd157d1..7d39042 100644 --- a/dom0.sh +++ b/dom0.sh @@ -14,6 +14,8 @@ # License for the specific language governing permissions and limitations under # the License. +set -e + # Enabling discard and fstrim sudo sed -i 's/issue_discards = 0/issue_discards = 1/g' /etc/lvm/lvm.conf sudo systemctl enable --now fstrim.timer diff --git a/fedora-minimal/fedora-minimal.sh b/fedora-minimal/fedora-minimal.sh index e0c1bf7..f06c6e4 100644 --- a/fedora-minimal/fedora-minimal.sh +++ b/fedora-minimal/fedora-minimal.sh @@ -14,6 +14,8 @@ # License for the specific language governing permissions and limitations under # the License. +set -e + unpriv(){ sudo -u nobody "$@" } diff --git a/fedora-minimal/sys-net.sh b/fedora-minimal/sys-net.sh index 75578b3..facc71c 100644 --- a/fedora-minimal/sys-net.sh +++ b/fedora-minimal/sys-net.sh @@ -14,6 +14,8 @@ # License for the specific language governing permissions and limitations under # the License. +set -e + # Install necessary packages dnf install -y @hardware-support arc-theme chrony gnome-keyring NetworkManager-wifi network-manager-applet qubes-core-agent-networking qubes-core-agent-network-manager xfce4-notifyd diff --git a/whonix/whonix-gw.sh b/whonix/whonix-gw.sh index 11d62eb..a5e4610 100644 --- a/whonix/whonix-gw.sh +++ b/whonix/whonix-gw.sh @@ -14,6 +14,8 @@ # License for the specific language governing permissions and limitations under # the License. +set -e + unpriv(){ sudo -u nobody "$@" } diff --git a/whonix/whonix-ws.sh b/whonix/whonix-ws.sh index e8e9f0f..d54a187 100644 --- a/whonix/whonix-ws.sh +++ b/whonix/whonix-ws.sh @@ -14,6 +14,8 @@ # License for the specific language governing permissions and limitations under # the License. +set -e + unpriv(){ sudo -u nobody "$@" }