Skip to content

Commit ab4efe6

Browse files
committed
chore: disable salt-minion for first boot
1 parent a46d236 commit ab4efe6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ansible/tasks/internal/optimizations.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- motd-news
1111
- vector
1212
- lvm2-monitor
13+
- salt-minion
1314
when: debpkg_mode
1415

1516
- name: ensure services are stopped and disabled for first boot nix build
@@ -23,6 +24,7 @@
2324
- fail2ban
2425
- motd-news
2526
- vector
27+
- salt-minion
2628
when: stage2_nix
2729

2830
- name: disable man-db

ebssurrogate/scripts/surrogate-bootstrap-nix.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)