-
Notifications
You must be signed in to change notification settings - Fork 0
NetSmith
License
amatig/NetSmith
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= NetSmith - bla bla bla Copyright (C) 2011 Giovanni Amati, Domenico Chierico This program 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 program 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 program. If not, see http://www.gnu.org/licenses/. == Usage Per usare le librerie di NetSmith e' necessario importare il seguente modulo come segue: require "core/netsmith" Questo permette di avere tutte le funzionalita' del core gia' pronte. Il Rakefile e la cartella tasks indicano un esempio di utilizzo delle su dette librerie. == Require Per quanto riguarda le dipendenze e' possibile scaricarle, stando nella root di NetSmith, attraverso il comando: bundle install In alternativa, installare singolarmente ogni gemma con il comando: gem install <nome pacchetto> == Beta Install Copiare la cartella di NetSmith in /var/www/html o in alternativa fornire da apache un accesso alla cartella, modificare se necessario tutti i permessi. == Beta Config Modificare il file /etc/xinit.d/tftp per puntare alla cartella tftpboot di NetSmith: service tftp { disable = no socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /var/www/html/NetSmith/tftpboot per_source = 11 cps = 100 2 flags = IPv4 } Modificare il file /etc/dhcp/dhcpd.conf come segue: allow booting; allow bootp; option option-128 code 128 = string; option option-129 code 129 = text; next-server <ip della macchina>; shared-network "PXE" { subnet <subnet in base all'ip> netmask 255.255.255.0 { } } host prova { hardware ethernet 08:00:27:57:07:E6; fixed-address 192.168.56.2; filename "/pxelinux.0"; }
About
NetSmith
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published