mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 00:46:58 +02:00
Merge pull request #34 from philips/resolv.conf-move
fix(coreos-base): move resolv.conf to /var/run
This commit is contained in:
commit
036ea4f26c
@ -111,6 +111,9 @@ src_install() {
|
||||
# Make mount work in the way systemd prescribes
|
||||
dosym /proc/mounts /etc/mtab
|
||||
|
||||
# Put resolv.conf in /var/run so root can be read-only
|
||||
dosym /var/run/resolv.conf /etc/resolv.conf
|
||||
|
||||
# Insert a cool motd ;)
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/motd
|
||||
|
Loading…
Reference in New Issue
Block a user