File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1- postgres-version = " 15.6.1.135 "
1+ postgres-version = " 15.6.1.136 "
Original file line number Diff line number Diff line change @@ -110,6 +110,11 @@ function format_and_mount_rootfs {
110110 fi
111111
112112 mkfs.ext4 /dev/xvdh
113+
114+ # Explicitly reserving 100MiB worth of blocks for the data volume
115+ RESERVED_DATA_VOLUME_BLOCK_COUNT=$(( 100 * 1024 * 1024 / 4096 ))
116+ tune2fs -r $RESERVED_DATA_VOLUME_BLOCK_COUNT /dev/xvdh
117+
113118 mkdir -p /mnt/data
114119 mount -o defaults,discard /dev/xvdh /mnt/data
115120}
Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ elif [ -n "$(command -v apt-get)" ]; then
3636 libicu-dev \
3737 libcgal-dev \
3838 libgcc-9-dev \
39- libgcc-8-dev
39+ libgcc-8-dev \
40+ ansible
41+
42+ add-apt-repository --yes --remove ppa:ansible/ansible
4043
4144 source /etc/os-release
4245 apt-get -y remove --purge linux-headers-5.11.0-1021-aws
Original file line number Diff line number Diff line change 3838 $ARGS
3939}
4040
41+ function cleanup_packages {
42+ apt-get -y remove --purge ansible
43+ add-apt-repository --yes --remove ppa:ansible/ansible
44+ }
4145
4246install_packages
4347install_nix
4448execute_stage2_playbook
45-
49+ cleanup_packages
You can’t perform that action at this time.
0 commit comments