mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
e8d6c9ecb0
Script `create-cloud-init.sh" uses the same cloud init data as the the CI but this means it is somewhat overloaded with unhelpful network configuration entries and scripts that are only needed for the CI. For local testing data kept in test_data/cloud-init/ubuntu/local folder. This contains minimum configuration data for user to test it locally. Script assigns default IP address using "network-config" details with --net "tap=" option. The default network interface will be "ens4". Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com>
8 lines
140 B
Plaintext
8 lines
140 B
Plaintext
version: 2
|
|
ethernets:
|
|
ens4:
|
|
match:
|
|
macaddress: 12:34:56:78:90:ab
|
|
addresses: [192.168.249.2/24]
|
|
gateway4: 192.168.249.1
|