mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-20 17:32:21 +00:00
Merge pull request #346 from Obihoernchen/fix/ubuntu-diskless-netplan-perms
Restrict the netplan file written by Ubuntu diskless boot
This commit is contained in:
@@ -242,6 +242,8 @@ EOF
|
||||
fi
|
||||
fi
|
||||
echo " version: 2" >> /sysroot/etc/netplan/10-${iface}-confluentcfg.yaml
|
||||
# netplan warns about configuration readable by others, as confignet knows
|
||||
chmod 600 /sysroot/etc/netplan/10-${iface}-confluentcfg.yaml
|
||||
fi
|
||||
if grep installtodisk /proc/cmdline > /dev/null; then
|
||||
. /etc/confluent/functions
|
||||
|
||||
Reference in New Issue
Block a user