nic cards and xml config file

This is for discussing general topics about how to use VirtualBox.
Post Reply
supremedalek
Posts: 32
Joined: 17. Oct 2008, 17:10
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows, Linux

nic cards and xml config file

Post by supremedalek »

How do you know in the xml config file for a given vm which nic is setup to do nat? In my specific case, I have the following card setup for NAT:
<Adapter slot="0" enabled="true" MACAddress="080027BF7B02" cable="true"
speed="0" type="82545EM">
    <NAT/>
</Adapter>
I have never seen a <something/> label in xml; only <something></something>, so it could just be me who is about to learn something new. :D
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: nic cards and xml config file

Post by baf »

That's just a self closing tag without value. You can even have them in normal html
Examples.
<br /><p />
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
Post Reply