diff --git a/Vagrantfile b/Vagrantfile index af1c163..21fb054 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -69,5 +69,5 @@ Vagrant.configure("2") do |config| # apt-get update # apt-get install -y apache2 # SHELL - config.vm.provision "shell", path: "./bootstrap.sh" + config.vm.provision "shell", path: "./startup.sh" end diff --git a/startup.sh b/startup.sh new file mode 100644 index 0000000..1a66b50 --- /dev/null +++ b/startup.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +pacman -Syu --noconfirm + +# Force the locale +echo "LC_ALL=en_GB.UTF-8" >> /etc/default/locale +locale-gen en_US.UTF-8 + +# Set the hostname +echo "scarif.space" > /etc/hostname + +chmod +x /opt/scarif/bootstrap.sh