On Mon, May 27, 2019 at 11:13 PM Felix Geschwindner via users
<users@lists.fedoraproject.org> wrote:
>
> Fedora on RPI is AMAZING and I'm working on a project to automate 
> provisioning for a Raspberry Pi cluster. This would add a ton of CI 
> capabilities and convenience. It would also take the edge of the nuisance 
> that RPIs eat SD cards like I eat Oreos.
> Right now the process is pretty manual:
>
> 1. Put SD card in secondary machine
> 2. DD Fedora's minimal aarch64 image onto SD card
> 3. Grow partition
> 4. Put SD card back
> 5. Boot
> 6. Go through initial setup
> 7. Update all packages
> 8. Continue with regular config and host management
>
> This requires being physically in front of the RPIs (and provisioning 
> machine) and involves a lot of hand holding.

I can't help with the PXE boot, but perhaps the Fedora Arm list might
help <a...@lists.fedoraproject.org>

I have managed to use virt-install with a kickstart file to setup an
aarch64 virtual-machine on an x86_64 host.  I think if you copy the
magic bits from the official Fedora arm kickstarts, you end up with an
image that can be copied to an SD card.  Perhaps the following might
work:

1. Write a kickstart file setup the way you want.
2. Run virt-install with this kickstart.  Make the disk image big
enough that you don't have to resize.
2a. Periodically refresh the master image.
3. Clone the VM and run virt-sysprep to do the initial setup.
4. dd the image to the SD card.
5. put the SD card back and boot.
6. Continue with regular config and host management.

Pretty much everything except handling the SD cards can be scripted.

Jim
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to