Support cloud-init's network-config.

This commit is contained in:
Michael Lipp 2024-02-21 16:14:37 +01:00
parent eccc35d0bf
commit 413f8f76dc
4 changed files with 16 additions and 1 deletions

View file

@ -23,6 +23,9 @@
mformat -C -f 1440 -v CIDATA -i ${ runtimeDir }/cloud-init.img
&& mcopy -i ${ runtimeDir }/cloud-init.img
${ dataDir }/cloud-init/meta-data ${ dataDir }/cloud-init/user-data ::
&& if [ -r ${ dataDir }/cloud-init/network-config ]; then
mcopy -i ${ runtimeDir }/cloud-init.img
${ dataDir }/cloud-init/network-config :: ; fi
"qemu":
# Candidate paths for the executable