mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 05:35:26 +00: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:
parent
343df58f59
commit
300323ea4e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user