mirror of
https://github.com/elasticdog/packer-arch.git
synced 2026-01-23 02:14:40 +00:00
Merge pull request #83 from fishilico/start-systemd-resolved
Start systemd-resolved automatically
This commit is contained in:
commit
0cc8902d9c
1 changed files with 1 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ cat <<-EOF > "${TARGET_DIR}${CONFIG_SCRIPT}"
|
|||
# https://wiki.archlinux.org/index.php/Network_configuration#Revert_to_traditional_interface_names
|
||||
/usr/bin/ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||
/usr/bin/systemctl enable dhcpcd@eth0.service
|
||||
/usr/bin/systemctl enable systemd-resolved.service
|
||||
echo ">>>> ${CONFIG_SCRIPT_SHORT}: Configuring sshd.."
|
||||
/usr/bin/sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config
|
||||
/usr/bin/systemctl enable sshd.service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue