Skip to content

Commit 2d73137

Browse files
committed
chore: enable 64bit ext4 support
1 parent 2e1be6b commit 2d73137

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

common-nix.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.6.1.114"
1+
postgres-version = "15.6.1.114-ext4-64bit"

ebssurrogate/scripts/surrogate-bootstrap-nix.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function format_and_mount_rootfs {
109109
mount /dev/xvdf1 /mnt/boot/efi
110110
fi
111111

112-
mkfs.ext4 /dev/xvdh
112+
mkfs.ext4 -O ^64bit /dev/xvdh
113113
mkdir -p /mnt/data
114114
mount -o defaults,discard /dev/xvdh /mnt/data
115115
}
@@ -223,11 +223,10 @@ function update_systemd_services {
223223
rm -f /mnt/etc/systemd/system/multi-user.target.wants/vector.service
224224
ln -s /etc/systemd/system/vector.timer /mnt/etc/systemd/system/multi-user.target.wants/vector.timer
225225

226-
# Disable apparmor during first boot
226+
# Disable services during first boot.
227227
rm -f /mnt/etc/systemd/system/sysinit.target.wants/apparmor.service
228-
229-
# Disable postgresql service during first boot.
230228
rm -f /mnt/etc/systemd/system/multi-user.target.wants/postgresql.service
229+
rm -f /mnt/etc/systemd/system/multi-user.target.wants/salt-minion.service
231230

232231
# Disable auditd
233232
rm -f /mnt/etc/systemd/system/multi-user.target.wants/auditd.service

0 commit comments

Comments
 (0)