Re: Kickstart Fedora 30 (aarch64) on Raspberry Pi 3 B+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 27, 2019 at 11:13 PM Felix Geschwindner via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> 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 <arm@xxxxxxxxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux