mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-06 11:39:40 +08:00
Add placeholder for resolv.conf
This prevents that the wrong permissions are set on the resolv.conf file when the container image is used as a base for non-root use.
This commit is contained in:
@@ -83,4 +83,6 @@ echo "# fstab intentionally empty for containers" > /etc/fstab
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
echo "# resolv placeholder" > /etc/resolv.conf
|
||||
chmod 644 /etc/resolv.conf
|
||||
%end
|
||||
|
||||
Reference in New Issue
Block a user