vmrc icon indicating copy to clipboard operation
vmrc copied to clipboard

Pass mac address to tap from template

Open jbergstroem opened this issue 10 years ago • 5 comments

It'd be nice to provide an optional mac address through a template: -s 2:0,virtio-net,tap0,mac=00:00:00:00:00:00

jbergstroem avatar Sep 16 '14 01:09 jbergstroem

On 9/15/14 6:27 PM, Johan Bergström wrote:

It'd be nice to provide an optional mac address through a template: -s 2:0,virtio-net,tap0,mac=00:00:00:00:00:00

That would be easy for one NIC, not so easy for multiple NICs.

Thoughts?

Michael

michaeldexter avatar Sep 16 '14 01:09 michaeldexter

No good suggestion for multiple nic use-cases unfortunately. Supporting one nic would at least be better than none.

jbergstroem avatar Sep 16 '14 02:09 jbergstroem

On 9/15/14 7:02 PM, Johan Bergström wrote:

No good suggestion for multiple nic use-cases unfortunately. Supporting one nic would at least be better than none.

I will think about it.

Herein lies the problem with multiplicity: if you want multiple disks or NICs, how many? "Lots" for one user is "way too few" for another.

Michael

michaeldexter avatar Sep 16 '14 02:09 michaeldexter

Not sure what your bigger plan for vmrc is, so it might or not be out of scope. I've got some experience with vmadm and the likes from smartOS which is pretty nice. Others might be used to virsh (which is already available). Point being that limitations might be a reasonable scope.

jbergstroem avatar Sep 16 '14 06:09 jbergstroem

On 9/15/14 11:41 PM, Johan Bergström wrote:

Not sure what your bigger plan for vmrc is, so it might or not be out of scope. I've got some experience with vmadm and the likes from smartOS which is pretty nice. Others might be used to virsh (which is already available). Point being that limitations might be a reasonable scope.

I love seeing how other solutions approach this but I have also been asking people which systems they think vmrc should follow:

"Make it like what we used at my last job"

"Did you like it?"

"Oh God no, it was terrible"

(Very useful!)

I asked a half dozen developers at BSDCan and go about a dozen answers like this. Interesting, but not very useful.

Michael

michaeldexter avatar Sep 16 '14 07:09 michaeldexter