mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
use old resolv.conf until systemd is on
This commit is contained in:
committed by
Aiden McClelland
parent
2642ec85e5
commit
6da0a473be
@@ -29,6 +29,7 @@ ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime
|
|||||||
|
|
||||||
# switch to systemd-resolved & network-manager
|
# switch to systemd-resolved & network-manager
|
||||||
echo "#" > /etc/network/interfaces
|
echo "#" > /etc/network/interfaces
|
||||||
|
[ -f /run/systemd/resolve/stub-resolv.conf ] || mkdir -p /run/systemd/resolve && cp /etc/resolv.conf /run/systemd/resolve/stub-resolv.conf
|
||||||
ln -rsf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
|
ln -rsf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
|
||||||
cat << EOF > /etc/NetworkManager/NetworkManager.conf
|
cat << EOF > /etc/NetworkManager/NetworkManager.conf
|
||||||
[main]
|
[main]
|
||||||
|
|||||||
Reference in New Issue
Block a user