]>
git.immae.eu Git - perso/Immae/Projets/Puppet.git/blob - scripts/ovh_vps_ssd/arch_chroot_script.sh
4 pacman
-key --populate archlinux
6 UUID
=$(cat /device_uuid)
7 PART
="/dev/disk/by-uuid/$UUID"
8 DEVICE
=$(realpath "$PART")
10 # mkfs.ext4 -F -U "$UUID" "$DEVICE"
13 ##### FIXME: mkfs.ext4 would be better ####
15 if [ "$i" = "/mnt/boot" ]; then
24 pacstrap
/mnt base git puppet
26 echo "$PART / auto defaults 0 1" > /mnt
/etc
/fstab