altlinuxteam / ansible-samba

Ansible role to deploy samba DCs and client against ALT Linux
MIT License
0 stars 7 forks source link

Avoid failures if /etc/net/ifaces does not exist #9

Closed asheplyakov closed 6 years ago

asheplyakov commented 6 years ago

ALTLinux installations without etcnet are perfectly possible and valid (one could manage network with systemd, or NetworkManager). For instance, the official p8 cloud image [1] is built exactly this way. Therefore install explicitly install etcnet and openresolv packages, and check if /etc/net/ifaces exists before using it

[1] http://nightly.altlinux.org/p8/release/alt-p8-cloud-20180612-x86_64.img.xz

Closes: #7

asheplyakov commented 6 years ago

Closing in favor of #14