mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 21:49:22 -05:00
use per-server package list for deploy-initial
This commit is contained in:
parent
73a88e36ad
commit
ce1fef8c0e
@ -15,7 +15,7 @@ ssh $remote "sfdisk /dev/$drive -w always <<< ';'"
|
|||||||
ssh $remote "mkfs.xfs -d agcount=$agcount -f /dev/${drive}1"
|
ssh $remote "mkfs.xfs -d agcount=$agcount -f /dev/${drive}1"
|
||||||
rsync -cv pacman.d/mirrorlist $remote:/etc/pacman.d/mirrorlist
|
rsync -cv pacman.d/mirrorlist $remote:/etc/pacman.d/mirrorlist
|
||||||
ssh $remote "mount /dev/${drive}1 /mnt"
|
ssh $remote "mount /dev/${drive}1 /mnt"
|
||||||
ssh $remote "pacstrap -K /mnt base bash-completion chrony cloud-guest-utils conntrack-tools grub htop ioping linux-lts logrotate man-db moreutils mtr nftables nginx openssh pacman-contrib pacutils plocate pv rsync strace sysstat tree unbound vim xfsprogs"
|
ssh $remote "pacstrap -K /mnt $(tr '\n' ' ' < packages/$host)"
|
||||||
|
|
||||||
ssh $remote "echo $hostname >/mnt/etc/hostname"
|
ssh $remote "echo $hostname >/mnt/etc/hostname"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user