Giter VIP home page Giter VIP logo

obnovang's Introduction

This is Obnovang project used to cleanup lab PCs.

This software is used to cleanup PCs in laboratory. If you have PCs with same HW and SW and you do not want to waste your time by manual cleanup, this software can help you. Instead of imaging tools, Obnovang is using rsync algorithm which copy only changed and missing files so it is much more quicker to cleanup entire lab.

How it works

ObnovaNG software using initramfs tools for build image ObnovaNG, PXElinux for boot, TFTP, DHCP and Rsync server But this project is prepared for refresh or cleanup computers from local media (usb disk, cdrom, ...) ObnovaNG process

  1. bootloader get IP from DHCP and link on TFTP
  2. get image pxelinuxu from TFTP and install into memory
  3. pxelinux get IP from DHCP and get bootconfig from TFTP 4a) loocalboot 4b) ObnovaNG
  4. ObnovaNG get IP from DHCP
  5. ObnovaNG get link on config file for ObnovaNG
  6. start ObnovaNG with config file

How to use

Image creation

To create kernel and initramfs, needed to boot, please run

$ ./configure
$ make

For more options, see

$ ./configure --help

Result will be in directory bin/ . You can test boot by

$ make test

or extract contents of initramfs to /tmp/obnova/

$ make extract

Instalation and configuration

Rsync server

See rsync manual.

TFTP

Put generated vmlinuz and initramfs into TFTP server. Download PXELinux and download it there too. See TFTP and PXELinux manual.

Example pxelinux config:
	LABEL ObnovaNG
		kernel obnovang.vmlinuz
		append root=/dev/ram ro init=/bin/obnovang obnovapath="<rsync_server_ip>::obnova" ramdisk_size=32000 loglevel=0 unattended initrd=obnovang.initramfs

DHCP

Point your DHCP server to boot PCs from network (dhcpd.conf). See DHCP server manual.

subnet x.x.x.x netmask y.y.y.y {
	allow booting;
        allow bootp;

        next-server tftp_server;
        filename "/pxelinux/pxelinux.0";
}

PCs

Enable booting from network in BIOS.

Team

If you have any question or recommendation for ObnovaNG, feel free to use github resources.

Credits

Lukáš MACURA, Tomáš Králik, Pavel Běhal and others

obnovang's People

Contributors

limosek avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.