Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ansible/tasks/internal/optimizations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- motd-news
- vector
- lvm2-monitor
- salt-minion
when: debpkg_mode

- name: ensure services are stopped and disabled for first boot nix build
Expand All @@ -23,6 +24,7 @@
- fail2ban
- motd-news
- vector
- salt-minion
when: stage2_nix

- name: disable man-db
Expand Down
5 changes: 2 additions & 3 deletions ebssurrogate/scripts/surrogate-bootstrap-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,10 @@ function update_systemd_services {
rm -f /mnt/etc/systemd/system/multi-user.target.wants/vector.service
ln -s /etc/systemd/system/vector.timer /mnt/etc/systemd/system/multi-user.target.wants/vector.timer

# Disable apparmor during first boot
# Disable services during first boot.
rm -f /mnt/etc/systemd/system/sysinit.target.wants/apparmor.service

# Disable postgresql service during first boot.
rm -f /mnt/etc/systemd/system/multi-user.target.wants/postgresql.service
rm -f /mnt/etc/systemd/system/multi-user.target.wants/salt-minion.service

# Disable auditd
rm -f /mnt/etc/systemd/system/multi-user.target.wants/auditd.service
Expand Down
Loading