Parameter | Type | Required | Description |
---|---|---|---|
--type | Network Backend Kind | true | The type of network device backend to add (such as WXM_TAP, WXM_VMNET) |
--guest-mac | MAC Address | true | The MAC address of the device on the guest side |
--host-mac | MAC Address | true | The MAC address of the device on the host side |
--interface-group | Interface group name | false | The interface groups to which the device belongs. May be repeated to specify multiple groups. |
--comment | String | false | A comment describing the new disk |
--configuration | Path | false | The path to the configuration file (environment variable: $WAXMILL_CONFIGURATION_FILE) |
--device-slot | Device Slot | true | The slot to which the device will be attached. |
--machine | UUID | true | The ID of the virtual machine |
--verbose | Log Level | false | Set the minimum logging verbosity level. |
--replace | Boolean | false | true if an existing device in the given slot should be replaced. |
bus = ? [0 .. 255] ? ; slot = ? [0 .. 31] ? ; function = ? [0 .. 7] ? ; deviceSlot = bus , ":" , slot , ":" , function ; Examples: 0:0:0 255:31:7
$ waxmill vm-add-virtio-network-device \ --machine de17174a-1b3c-4ebc-80af-cb239aa18cbd \ --device-slot 0:4:0 \ --type WXM_TAP \ --name tap23 \ --host-mac d9:63:c0:d9:09:e8 \ --guest-mac d9:63:c0:d9:09:e9 \ --interface-group wwwUsers \ --interface-group ntpUsers $ waxmill vm-add-virtio-network-device \ --machine de17174a-1b3c-4ebc-80af-cb239aa18cbd \ --device-slot 0:4:0 \ --type WXM_VMNET \ --name vmnet23 \ --host-mac d9:63:c0:d9:09:ea \ --guest-mac d9:63:c0:d9:09:eb \ --interface-group wwwUsers