debian-forge-composer/tools/deploy/test/user-data.yml
Lars Karlitski e87d3bd3e1 HACKING.md: clarify details about the spawned VM
Also add a comment to tools/deploy/test/user-data explaining where the
IP comes from.
2020-10-08 10:01:03 +02:00

20 lines
529 B
YAML

#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"
enabled: true
gpgcheck: false
user: admin
password: foobar
ssh_pwauth: True
chpasswd:
expire: False
sudo: 'ALL=(ALL) NOPASSWD:ALL'
runcmd:
- /run/provision-scripts/deploy.sh
- /run/provision-scripts/provision.sh