Skip to content

Commit

Permalink
Fix netplan permissions
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
  • Loading branch information
paulober committed Nov 18, 2024
1 parent c0bd6f2 commit e207c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stage2/04-cloud-init/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install -v -m 755 files/network-config "${ROOTFS_DIR}/boot/firmware/network-conf
# setup default netplan config which will instruct netplan to pass control over to network-manager
# at boot time. This will make NetworkManager manage all devices and by default.
# Any Ethernet device will come up with DHCP, once carrier is detected
install -v -D -m 644 -t "${ROOTFS_DIR}/usr/lib/netplan/" files/00-network-manager-all.yaml
install -v -D -m 600 -t "${ROOTFS_DIR}/usr/lib/netplan/" files/00-network-manager-all.yaml

# still does not solve the conflict, maybe some kind of race cond.
# make sure config stage is run before userconfig service
Expand Down

0 comments on commit e207c7c

Please sign in to comment.