mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-25 09:21:15 +00:00
Until now, the VMM was only accepting a single instance of virtio-net device. This commit extends the virtio-net support by allowing several devices to be created for a single VM. Fixes #71 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
18 lines
431 B
Plaintext
18 lines
431 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]
|
|
MACAddress=12:34:56:78:90:ab
|
|
|
|
[Network]
|
|
Address=192.168.2.2/24
|
|
Gateway=192.168.2.1
|