Split up bootstrap script
This commit is contained in:
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -69,5 +69,5 @@ Vagrant.configure("2") do |config|
|
|||||||
# apt-get update
|
# apt-get update
|
||||||
# apt-get install -y apache2
|
# apt-get install -y apache2
|
||||||
# SHELL
|
# SHELL
|
||||||
config.vm.provision "shell", path: "./bootstrap.sh"
|
config.vm.provision "shell", path: "./startup.sh"
|
||||||
end
|
end
|
||||||
|
|||||||
12
startup.sh
Normal file
12
startup.sh
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user