mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Create cloud-init image from source files in tests
In the future this will provide the basis for the ability to customise the cloud-init file per VM. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
0776d9d7ae
commit
e9f01740e8
@@ -86,10 +86,6 @@ if [ ! -d "$SHARED_DIR" ]; then
|
||||
echo "bar" > "$SHARED_DIR/file3"
|
||||
fi
|
||||
|
||||
rm /tmp/cloudinit.img
|
||||
mkdosfs -n config-2 -C /tmp/cloudinit.img 8192
|
||||
mcopy -oi /tmp/cloudinit.img -s test_data/cloud-init/openstack ::
|
||||
|
||||
cargo build
|
||||
sudo setcap cap_net_admin+ep target/debug/cloud-hypervisor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user