Coder Social home page Coder Social logo

warrior-preseed's Introduction

Warrior VM construction scripts (work in progress)

The scripts in this repository can be used to build a new virtual machine of the ArchiveTeam Warrior 2.

build-vm.sh is a script that builds a new VirtualBox virtual machine

warrior-preseed.cfg is a Debian 6.0 (Squeeze) preseed configuration file

pack-vm.sh turns the virtual machine into a virtual appliance .ova

Building a warrior

Install VirtualBox and download the Debian netinst ISO: http://cdimage.debian.org/debian-cd/6.0.6/i386/iso-cd/debian-6.0.6-i386-netinst.iso

Step 1: Create a VM with the required properties by running this script:

./build-vm.sh

Step 2: Start the VM. It will start the Debian installer. To start the automated installation, press Esc and type:

auto url=https://raw.github.com/ArchiveTeam/warrior-preseed/master/warrior-preseed.cfg hostname=warriorvm domain=archiveteam

(Replace that GitHub URL with a local HTTP URL. The Debian installer does not like HTTPS.)

Step 3: Wait for the installer to finish and shut down the VM.

Step 4: As an optional step, to minimise the disk size of your appliance, you can run a cleanup script that removes the log files, the APT cache and a few other large, unnecessary files. It will also zero-fill the unused space on the disk.

Start the VM and select the rescue mode from the grub menu. Log in with root password archiveteam. Then run

/home/warrior/warrior-code2/cleanup.sh

and wait for the script to finish. (The zero-filling will end with a warning about disk space.) Then stop the VM

shutdown -h now

Step 5: You can now turn the VM into a virtual appliance package:

./pack-vm.sh

warrior-preseed's People

Contributors

alard avatar

Watchers

Brett O'Connor avatar James Cloos 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.