Bug #4583
onevm create command does not support mac addresses in the command line
Status: | Closed | Start date: | 06/19/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | CLI | |||
Target version: | Release 5.2 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 5.0 |
Description
For example
onevm create --name vmtest --cpu 1 --memory 128 --nic smac:mac='00:02:01:02:03:94' --dry NAME="vmtest" CPU=1.0 MEMORY=128 NIC=[ MAC="00", 02="", 01="", 02="", 03="", 94="", NETWORK="smac" ]
Associated revisions
bug #4583: allow the use of : in nic extra attrs
bug #4583: allow the use of : in nic extra attrs
(cherry picked from commit 4dff8953e21e5853da49a1d993deef62b18d013b)
History
#1 Updated by Javi Fontan almost 5 years ago
- Status changed from New to Closed
- Resolution set to fixed
#2 Updated by Javi Fontan almost 5 years ago
With the fix:
$ onevm create --name vmtest --cpu 1 --memory 128 --nic smac:mac='00:02:01:02:03:94' --dry NAME="vmtest" CPU=1.0 MEMORY=128 NIC=[ MAC="00:02:01:02:03:94", NETWORK="smac" ]