Skip to content

Commit 07469e2

Browse files
committed
feat: netplan security and apply
1 parent bb99291 commit 07469e2

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

ansible/tasks/fix_ipv6_ndisc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@
3131
systemd:
3232
name: systemd-networkd-check-and-fix.timer
3333
enabled: true
34+
35+
- name: Apply netplan configuration
36+
shell: sudo netplan apply
37+
when: debpkg_mode or nixpkg_mode

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ postgres_major:
99

1010
# Full version strings for each major version
1111
postgres_release:
12-
postgresorioledb-17: "17.0.1.092-orioledb-2404-5"
13-
postgres17: "17.4.1.042-2404-5"
14-
postgres15: "15.8.1.099-2404-5"
12+
postgresorioledb-17: "17.0.1.092-orioledb-2404-6"
13+
postgres17: "17.4.1.042-2404-6"
14+
postgres15: "15.8.1.099-2404-6"
1515

1616
# Non Postgres Extensions
1717
pgbouncer_release: "1.19.0"

ebssurrogate/scripts/chroot-bootstrap-nix.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ network:
170170
dhcp4-overrides:
171171
send-hostname: false
172172
EOF
173+
# Set proper permissions for netplan security
174+
chmod 600 /etc/netplan/01-hostname.yaml
173175
}
174176

175177
# Set options for the default interface
@@ -181,6 +183,8 @@ network:
181183
eth0:
182184
dhcp4: true
183185
EOF
186+
# Set proper permissions for netplan security
187+
chmod 600 /etc/netplan/eth0.yaml
184188
}
185189

186190
function disable_sshd_passwd_auth {

0 commit comments

Comments
 (0)