diff --git a/gnutoo-trisquel-installer/Makefile b/gnutoo-trisquel-installer/Makefile index 978a525..2854052 100644 --- a/gnutoo-trisquel-installer/Makefile +++ b/gnutoo-trisquel-installer/Makefile @@ -21,6 +21,9 @@ TARBALL_SOURCE = \ config/class/50-host-classes \ config/files/etc/cron.d/fai/FAIBASE \ config/files/etc/fai/fai.conf/FAIBASE \ + config/files/etc/network/interfaces.d/enp1s0.conf \ + config/files/etc/network/interfaces.d/lo.conf \ + config/files/etc/resolv.conf \ config/package_config/FAIBASE \ config/scripts/FAIBASE/01-files \ Makefile diff --git a/gnutoo-trisquel-installer/config/files/etc/network/interfaces.d/enp1s0.conf/FAIBASE b/gnutoo-trisquel-installer/config/files/etc/network/interfaces.d/enp1s0.conf/FAIBASE new file mode 100644 index 0000000..704a6f8 --- /dev/null +++ b/gnutoo-trisquel-installer/config/files/etc/network/interfaces.d/enp1s0.conf/FAIBASE @@ -0,0 +1,24 @@ +# +# Copyright (C) 2023 Denis 'GNUtoo' Carikli +# +# This project is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This project is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this project. If not, see . + +auto enp1s0 +iface enp1s0 inet static + address 192.168.1.119/16 + gateway 192.168.0.1 + +iface enp1s0 inet static + address 2001:910:1021::119/64 + gateway 2001:910:1021::1 diff --git a/gnutoo-trisquel-installer/config/files/etc/network/interfaces.d/lo.conf/FAIBASE b/gnutoo-trisquel-installer/config/files/etc/network/interfaces.d/lo.conf/FAIBASE new file mode 100644 index 0000000..c4ed353 --- /dev/null +++ b/gnutoo-trisquel-installer/config/files/etc/network/interfaces.d/lo.conf/FAIBASE @@ -0,0 +1,19 @@ +# +# Copyright (C) 2023 Denis 'GNUtoo' Carikli +# +# This project is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This project is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this project. If not, see . + +# The loopback network interface +auto lo +iface lo inet loopback diff --git a/gnutoo-trisquel-installer/config/files/etc/resolv.conf/FAIBASE b/gnutoo-trisquel-installer/config/files/etc/resolv.conf/FAIBASE new file mode 100644 index 0000000..384ea98 --- /dev/null +++ b/gnutoo-trisquel-installer/config/files/etc/resolv.conf/FAIBASE @@ -0,0 +1,18 @@ +# +# Copyright (C) 2023 Denis 'GNUtoo' Carikli +# +# This project is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This project is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this project. If not, see . + +nameserver 2001:910:1021::1 +nameserver 127.0.0.53 \ No newline at end of file diff --git a/gnutoo-trisquel-installer/config/scripts/FAIBASE/01-files b/gnutoo-trisquel-installer/config/scripts/FAIBASE/01-files index 343111a..e51fd3e 100755 --- a/gnutoo-trisquel-installer/config/scripts/FAIBASE/01-files +++ b/gnutoo-trisquel-installer/config/scripts/FAIBASE/01-files @@ -15,5 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this project. If not, see . -fcopy -iM /etc/fai/fai.conf fcopy -i -m root,root,0755 /etc/cron.d/fai +fcopy -iM /etc/fai/fai.conf +fcopy -iM /etc/network/interfaces.d/lo.conf +fcopy -iM /etc/network/interfaces.d/enp1s0.conf +fcopy -iM /etc/resolv.conf