Hello, I'm trying to set up lightweight virtual machines using systemd-nspawn on CoreOS. Below are the steps that I tried:
1. Get an image of Fedora using Docker, then export it to /var/lib/machines 2. systemd-nspawn into that folder (without the -b or -n flags), enable systemd-networkd and systemd-resolved and set a root password 3. Boot the machine using systemd-nspawn with the -b and -n flags I tried these steps on both a Digital Ocean CoreOS droplet and a PC running Arch Linux. On the PC running Arch Linux the VM could access the internet. On the CoreOS droplet I got "No route to host". I'm using CoreOS stable and both the Arch Linux machine and the CoreOS droplet use systemd 231, so I assumed that it's not a bug in systemd.
