]>
Commit | Line | Data |
---|---|---|
367c391a IB |
1 | #!/bin/bash |
2 | ||
3 | pacman-key --init | |
4 | pacman-key --populate archlinux | |
5 | ||
6 | UUID=$(cat /device_uuid) | |
7 | PART="/dev/disk/by-uuid/$UUID" | |
8 | DEVICE=$(realpath "$PART") | |
9 | ||
10 | mkfs.ext4 -F -U "$UUID" "$DEVICE" | |
11 | mount "$DEVICE" /mnt | |
12 | ||
13 | pacstrap -G /mnt base git puppet | |
14 | ||
15 | echo "$PART / auto defaults 0 1" > /mnt/etc/fstab | |
16 | ||
17 | umount /mnt | |
18 |