Skip to content

Commit

Permalink
set tmpdir
Browse files Browse the repository at this point in the history
  • Loading branch information
terem42 committed Oct 1, 2023
1 parent 99a63e2 commit e08def6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions hetzner-debian10-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ set -o errexit
set -o pipefail
set -o nounset

export TMPDIR=/tmp

# Variables
v_bpool_name=
v_bpool_tweaks=
Expand Down
2 changes: 2 additions & 0 deletions hetzner-debian11-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ set -o errexit
set -o pipefail
set -o nounset

export TMPDIR=/tmp

# Variables
v_bpool_name=
v_bpool_tweaks=
Expand Down
2 changes: 2 additions & 0 deletions hetzner-debian12-zfs-setup .sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ set -o errexit
set -o pipefail
set -o nounset

export TMPDIR=/tmp

# Variables
v_bpool_name=
v_bpool_tweaks=
Expand Down
2 changes: 2 additions & 0 deletions hetzner-ubuntu18-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ set -o errexit
set -o pipefail
set -o nounset

export TMPDIR=/tmp

# Variables
v_bpool_name=
v_bpool_tweaks=
Expand Down
2 changes: 2 additions & 0 deletions hetzner-ubuntu20-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ set -o errexit
set -o pipefail
set -o nounset

export TMPDIR=/tmp

# Variables
v_bpool_name=
v_bpool_tweaks=
Expand Down
3 changes: 2 additions & 1 deletion hetzner-ubuntu22-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ set -o errexit
set -o pipefail
set -o nounset

export TMPDIR=/tmp

# Variables
v_bpool_name=
v_bpool_tweaks=
Expand Down Expand Up @@ -560,7 +562,6 @@ if [[ $v_swap_size -gt 0 ]]; then
fi

echo "======= setting up initial system packages =========="
export TMPDIR=/tmp
debootstrap --arch=amd64 jammy "$c_zfs_mount_dir" "$c_deb_packages_repo"

zfs set devices=off "$v_rpool_name"
Expand Down

0 comments on commit e08def6

Please sign in to comment.