Provision Arch: Difference between revisions
From Pumping Station One
combining instructions |
|||
| Line 16: | Line 16: | ||
dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda | dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda | ||
sed -i 's#/dev/sda3#/dev/vda1#' /boot/syslinux/syslinux.cfg | sed -i 's#/dev/sda3#/dev/vda1#' /boot/syslinux/syslinux.cfg | ||
echo [archlinuxfr] >> /etc/pacman.conf | echo [archlinuxfr] >> /etc/pacman.conf | ||
echo SigLevel = Never >> /etc/pacman.conf | echo SigLevel = Never >> /etc/pacman.conf | ||
| Line 24: | Line 23: | ||
pacman -S salt | pacman -S salt | ||
systemctl enable salt-minion | systemctl enable salt-minion | ||
mkdir /etc/salt/minion.d | mkdir /etc/salt/minion.d | ||
echo master: bob.ad.pumpingstationone.org > /etc/salt/minion.d/bob.conf | echo master: bob.ad.pumpingstationone.org > /etc/salt/minion.d/bob.conf | ||
echo | |||
== enter your hostname == | |||
echo ${hostname} > /etc/hostname | |||
== reboot == | == reboot == | ||
exit | exit | ||
reboot | reboot | ||