mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 05:35:00 -05:00
reorder initial deployment
This commit is contained in:
parent
4c52595bfd
commit
f7643fa8b7
@ -25,6 +25,10 @@ rsync -cv pacman.d/mirrorlist $remote:/etc/pacman.d/mirrorlist
|
||||
ssh $remote "mount /dev/${drive}1 /mnt"
|
||||
ssh $remote "pacstrap -K /mnt $(tr '\n' ' ' < packages/$host)"
|
||||
|
||||
rsync -cv grub $remote:/mnt/etc/default/grub
|
||||
ssh $remote "arch-chroot /mnt grub-install /dev/$drive"
|
||||
ssh $remote "arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg"
|
||||
|
||||
ssh $remote "echo $hostname >/mnt/etc/hostname"
|
||||
|
||||
rsync -cpv --chmod=644 systemd/network/$host.link $remote:/mnt/etc/systemd/network/10-public.link
|
||||
@ -32,10 +36,6 @@ rsync -cpv --chmod=644 systemd/network/$host.network $remote:/mnt/etc/systemd/ne
|
||||
|
||||
rsync -cpv --chmod=644 crypttab environment fstab locale.conf pacman.conf pacreport.conf resolv.conf $remote:/mnt/etc/
|
||||
|
||||
rsync -cv grub $remote:/mnt/etc/default/grub
|
||||
ssh $remote "arch-chroot /mnt grub-install /dev/$drive"
|
||||
ssh $remote "arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg"
|
||||
|
||||
rsync -cv unbound.conf $remote:/mnt/etc/unbound/unbound.conf
|
||||
|
||||
if [[ $host = @(0.grapheneos.network|1.grapheneos.network|2.grapheneos.network|3.grapheneos.network) ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user