This project is for building a Warrior Virtual Machine Appliance for the year 2017-2020. It also contains the necessary boot up scripts that this Warrior will update from.
For building the older version, see https://github.com/ArchiveTeam/warrior-preseed
If you wanted to download the warrior, see https://warriorhq.archiveteam.org/downloads/warrior3/. For support, see https://www.archiveteam.org/index.php?title=Warrior.
- Install VirtualBox.
- Download the ISO file for Alpine Linux
alpine-virt-3.12.0-x86_64.iso
- Run
./build-vm.sh
to create an empty Virtual Machine. - Boot up the virtual machine and wait for Aline's login prompt to appear.
- Follow the instructions for installing to disk: https://wiki.alpinelinux.org/wiki/Install_to_disk using the options mentioned in
stage.sh
. - Power off the virtual machine using the
poweroff
command. - Eject the virtual disc by selecting Remove Disk from Virtual Drive.
- Boot the machine and login with username
root
and passwordwarrior
. - Run
apk add openssl
- Run
wget https://raw.githubusercontent.com/ArchiveTeam/Ubuntu-Warrior/master/stage.sh
- Run
chmod +x stage.sh; ./stage.sh
- Wait and then reboot.
- Wait for it to install the Docker instance and warrior-code2.
- Export the appliance by running
./pack-vm.sh
.
Note: Do not push to master without testing! The warrior pulls files from this repository on boot up.
boot.sh
is responsible for fetching a copy of startup.sh
. This allows for easier maintenance but at the risk of breaking things. When testing, please look at boot.sh
and edit /root/repo_prefix.txt
and/or /root/branch.txt
to point to a separate branch.