Anonymous

Changes

From Pumping Station One
220 bytes removed ,  03:07, 7 April 2015
Line 1: Line 1:  
== Installing ==
 
== Installing ==
    sgdisk -z /dev/vda
+
 
    sgdisk -n 1:2048: /dev/vda
+
<syntaxhighlight lang="bash">
    sgdisk --attributes=1:set:2 /dev/vda
+
sgdisk -z /dev/vda
    mkfs.ext4 /dev/vda1
+
sgdisk -n 1:2048: /dev/vda
    mount /dev/vda1 /mnt
+
sgdisk --attributes=1:set:2 /dev/vda
    pacstrap /mnt base base-devel openssh syslinux
+
mkfs.ext4 /dev/vda1 -F
    genfstab -p /mnt >> /mnt/etc/fstab
+
mount /dev/vda1 /mnt
    arch-chroot /mnt
+
pacstrap /mnt base base-devel openssh syslinux salt-zmq
    unlink /etc/localtime
+
genfstab -p /mnt >> /mnt/etc/fstab
    ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
+
arch-chroot /mnt
    mkinitcpio -p linux
+
unlink /etc/localtime
    systemctl enable dhcpcd
+
ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
    systemctl enable sshd
+
mkinitcpio -p linux
    cp -r /usr/lib/syslinux/bios/*.c32 /boot/syslinux/
+
systemctl enable dhcpcd
    extlinux --install /boot/syslinux
+
systemctl enable sshd
    dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda
+
systemctl enable salt-minion
    sed -i 's#/dev/sda3#/dev/vda1#' /boot/syslinux/syslinux.cfg
+
ln -s /usr/lib/syslinux/bios/*.c32 /boot/syslinux/
   
+
extlinux --install /boot/syslinux
    echo [archlinuxfr] >> /etc/pacman.conf
+
dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda
    echo SigLevel = Never >> /etc/pacman.conf
+
sed -i 's#/dev/sda3#/dev/vda1#' /boot/syslinux/syslinux.cfg
    echo Server = http://repo.archlinux.fr/\$arch >> /etc/pacman.conf
+
</syntaxhighlight>
    pacman -Sy
  −
    pacman -S --noconfirm salt
  −
    systemctl enable salt-minion
      
== enter your hostname ==
 
== enter your hostname ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.