Skip to content

Commit

Permalink
Fixup various small units
Browse files Browse the repository at this point in the history
  • Loading branch information
Bownairo committed Aug 16, 2024
1 parent ef76abe commit 14a61b6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

# machine-id is set up in initramfs and bind-mounted over to the rootfs. Since
# policy is not loaded in initramfs yet, it has wrong security context.
systemd-machine-id-setup --commit
restorecon -v /etc/machine-id
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# over to the rootfs. Since policy is not loaded in initramfs yet, it has
# wrong security context. Fix this up, but ignore failures (this will not
# work on first boot).
systemd-machine-id-setup --commit
restorecon -v /etc/machine-id || true
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ while [ ! -f /boot/config/CONFIGURED ]; do
fi

# Fix up permissions. This is actually the wrong place.
chown ic-replica.nogroup -R /var/lib/ic/data
chown ic-replica:nogroup -R /var/lib/ic/data

if [ "${DEV}" != "" ]; then
umount /mnt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=Generate network config
After=bootstrap-ic-node.service
Requires=bootstrap-ic-node.service
Before=systemd-networkd.service

[Install]
Expand Down
1 change: 1 addition & 0 deletions ic-os/guestos/context/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ RUN \
RUN systemctl enable \
chrony \
nftables \
ssh \
systemd-networkd \
systemd-networkd-wait-online \
systemd-resolved \
Expand Down
1 change: 1 addition & 0 deletions ic-os/hostos/context/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ RUN systemctl enable \
chrony \
libvirtd \
nftables \
ssh \
systemd-journal-gatewayd \
systemd-networkd \
systemd-networkd-wait-online \
Expand Down

0 comments on commit 14a61b6

Please sign in to comment.