mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
scripts: Add Ubuntu cloud-init data
Add cloud-init data for Ubuntu and introduce a convenience script that can be used to generate cloud-init disk images for manual testing. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
be199e5560
commit
f86b9dd95e
12
test_data/cloud-init/ubuntu/network-config
Normal file
12
test_data/cloud-init/ubuntu/network-config
Normal file
@@ -0,0 +1,12 @@
|
||||
network:
|
||||
version: 1
|
||||
config:
|
||||
- type: physical
|
||||
name: eth0
|
||||
mac_address: 12:34:56:78:90:ab
|
||||
subnets:
|
||||
- type: static
|
||||
address: 192.168.2.2/24
|
||||
gateway: 192.168.2.1
|
||||
dns_nameservers:
|
||||
- 192.168.2.1
|
||||
Reference in New Issue
Block a user