gnutoo-trisquel-installer: Add network settings

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-10-07 05:00:54 +02:00
parent 6ff145857d
commit 9d3aad54fa
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
5 changed files with 68 additions and 1 deletions

View File

@ -21,6 +21,9 @@ TARBALL_SOURCE = \
config/class/50-host-classes \ config/class/50-host-classes \
config/files/etc/cron.d/fai/FAIBASE \ config/files/etc/cron.d/fai/FAIBASE \
config/files/etc/fai/fai.conf/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/package_config/FAIBASE \
config/scripts/FAIBASE/01-files \ config/scripts/FAIBASE/01-files \
Makefile Makefile

View File

@ -0,0 +1,24 @@
#
# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
#
# 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 <http://www.gnu.org/licenses/>.
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

View File

@ -0,0 +1,19 @@
#
# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
#
# 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 <http://www.gnu.org/licenses/>.
# The loopback network interface
auto lo
iface lo inet loopback

View File

@ -0,0 +1,18 @@
#
# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
#
# 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 <http://www.gnu.org/licenses/>.
nameserver 2001:910:1021::1
nameserver 127.0.0.53

View File

@ -15,5 +15,8 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this project. If not, see <http://www.gnu.org/licenses/>. # along with this project. If not, see <http://www.gnu.org/licenses/>.
fcopy -iM /etc/fai/fai.conf
fcopy -i -m root,root,0755 /etc/cron.d/fai 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