b405e35ea84da85192dd5c93f2f575fae741cbe2
A CoreDesktop sibling project. install.sh and update.sh install libvirt and QEMU/KVM and set up the coreapp VM network (10.123.0.0/24, open mode, with a libvirt hook for NAT and firewall rules, and ufw rules for DHCP, DNS and forwarding). scripts/create-coreserver-vm.sh creates a CoreServer VM with root's SSH keys from cloud-init, at 10.123.0.10, with systemd-resolved masked so the Core's DNS server survives reboots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
coreapp-dev
A software development kit for building apps that run as Docker containers on Federated Core. It runs a real Core in a KVM virtual machine on your own computer, so you can build and test apps against it.
It's a CoreDesktop sibling project: CoreDesktop installs it and keeps it up to date.
Install
On a CoreDesktop computer with hardware virtualization (VT-x/AMD-V) turned on:
sibling add https://gitea.federated.computer/Federated_Computer/coreapp-dev.git
This installs libvirt and QEMU/KVM, adds you to the libvirt group (log out
and back in afterwards), and sets up the coreapp VM network
(10.123.0.0/24). CoreDesktop's update keeps them current.
A Core in a VM
- Download the CoreServer image to
~/.local/share/coreapp-dev/images/coreserver-enterprise-x86-26-05-12.qcow2(see PLAN.md for the URL). - Put the SSH public key from Federated's dashboard (Cores) in
~/.config/coreapp-dev/authorized_keys, so the Provisioner can log in. - Create the VM:
It gets 10.123.0.10. Log in with
scripts/create-coreserver-vm.shssh -i ~/.local/share/coreapp-dev/ssh/id_ed25519 root@10.123.0.10. - Federated's Provisioner has to reach the VM over SSH, and the Core must be reachable from the internet. Behind a home router, use corerelay to give it a VPS's public IP.
- Provision the Core with
core-create(Provisioning a Core), with the public IP asip.
Files
| Path | What it is |
|---|---|
install.sh, update.sh |
Run by CoreDesktop's sibling add and update |
libvirt/network-hook.sh |
NAT and firewall rules for the coreapp network |
scripts/create-coreserver-vm.sh |
Creates a CoreServer VM |
| PLAN.md, TEST.md | What's next, and how to test it |
Languages
Python
69.2%
Shell
30%
Dockerfile
0.7%
HTML
0.1%