Tweak formatting for consistency with project conventions

Just to have the style match across all files in the project.
This commit is contained in:
Aaron Bull Schaefer 2016-11-18 11:49:16 -08:00
parent 227f42add6
commit 45fe1a10d0

View file

@ -3,11 +3,10 @@
# stop on errors
set -eu
if [[ "$PACKER_BUILDER_TYPE" == "qemu" ]]
then
DISK='/dev/vda'
if [[ $PACKER_BUILDER_TYPE == "qemu" ]]; then
DISK='/dev/vda'
else
DISK='/dev/sda'
DISK='/dev/sda'
fi
FQDN='vagrant-arch.vagrantup.com'
@ -48,7 +47,7 @@ echo '==> Bootstrapping the base installation'
/usr/bin/pacstrap ${TARGET_DIR} base base-devel
/usr/bin/arch-chroot ${TARGET_DIR} pacman -S --noconfirm gptfdisk openssh syslinux
/usr/bin/arch-chroot ${TARGET_DIR} syslinux-install_update -i -a -m
/usr/bin/sed -i "s,sda3,${ROOT_PARTITION##/dev/}," "${TARGET_DIR}/boot/syslinux/syslinux.cfg"
/usr/bin/sed -i "s|sda3|${ROOT_PARTITION##/dev/}|" "${TARGET_DIR}/boot/syslinux/syslinux.cfg"
/usr/bin/sed -i 's/TIMEOUT 50/TIMEOUT 10/' "${TARGET_DIR}/boot/syslinux/syslinux.cfg"
echo '==> Generating the filesystem table'