experimental-vms/trisquel-install-guix-fai/config/scripts/FAIBASE/01-files

27 lines
1.0 KiB
Plaintext
Raw Normal View History

#!/bin/sh
#
# 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/>.
fcopy -i -m root,root,0755 /etc/cron.d/fai
fcopy -iM /etc/fai/fai.conf
fcopy -iM /etc/hostname
fcopy -iM /etc/hosts
fcopy -iM /etc/network/interfaces.d/lo.conf
fcopy -iM /etc/network/interfaces.d/enp1s0.conf
fcopy -iM /etc/resolv.conf
fcopy -iM /etc/ssh/sshd_config
fcopy -i -m root,root,0755 /usr/local/bin/guix-install.sh