You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Security-VM/build-vm/firstboot.sh

15 lines
421 B

#!/bin/sh
# This script is run the first time the VM boots up.
# It configures the VM for the security workshop
DIR=/home/security/workshop
echo "Initializing this VM for the Security Workshop..."
# Get the workshop files
git clone https://github.com/Avans/Security-Workshop.git $DIR
# Add boot.sh to the boot sequence
echo "$DIR/build-vm/boot.sh" >> /etc/rc.local
# Resume normal boot sequence
$DIR/build-vm/boot.sh