mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-05 04:15:20 +00:00
ddce3df826
Add basic integration testing of the hypervisor using a cloud-init to configure the VM at boot and SSH to control it at runtime. Initial test just boots the VM up checks some basic resources and reboots. With a second test that calls into the first to check that subsequent tests work correctly. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
18 lines
411 B
Plaintext
18 lines
411 B
Plaintext
#cloud-config
|
|
users:
|
|
- name: admin
|
|
passwd: $6$7125787751a8d18a$sHwGySomUA1PawiNFWVCKYQN.Ec.Wzz0JtPPL1MvzFrkwmop2dq7.4CYf03A5oemPQ4pOFCCrtCelvFBEle/K.
|
|
sudo:
|
|
- ALL=(ALL) NOPASSWD:ALL
|
|
write_files:
|
|
-
|
|
path: /etc/systemd/network/00-static.network
|
|
permissions: 0644
|
|
content: |
|
|
[Match]
|
|
Name=en*
|
|
|
|
[Network]
|
|
Address=192.168.2.2/24
|
|
Gateway=192.168.2.1
|