HACKING.md: clarify details about the spawned VM

Also add a comment to tools/deploy/test/user-data explaining where the
IP comes from.
This commit is contained in:
Lars Karlitski 2020-10-07 18:31:50 +02:00
parent 6a1b9f17ce
commit e87d3bd3e1
2 changed files with 12 additions and 2 deletions

View file

@ -1,5 +1,9 @@
#cloud-config
yum_repos:
# Fetch osbuild packages from a repository served on the host.
#
# In qemu user networking, 10.0.2.2 always points to the host:
# https://wiki.qemu.org/Documentation/Networking#User_Networking_.28SLIRP.29
osbuild:
name: osbuild
baseurl: "http://10.0.2.2:8000"